File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ declare namespace Farm {
42
42
) : void ;
43
43
}
44
44
45
- export interface FarmOptions extends ForkMode {
45
+ export interface FarmOptions {
46
46
enableWorkerThreads ?: boolean ;
47
47
maxCallsPerWorker ?: number ;
48
48
maxConcurrentWorkers ?: number ;
@@ -53,6 +53,7 @@ declare namespace Farm {
53
53
autoStart ?: boolean ;
54
54
asyncInit ?: boolean ;
55
55
maxInitTime ?: number ;
56
+ forcedKillTime ?: number ;
56
57
workerOptions ?: ForkOptions | WorkerOptions ;
57
58
onChild ?: ( child : ChildProcess | Worker , worker : any ) => void ;
58
59
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @baidu/worker-farm" ,
3
3
"description" : " Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options." ,
4
- "version" : " 1.9.3 " ,
4
+ "version" : " 1.9.4 " ,
5
5
"homepage" : " https://github.com/kekee000/node-worker-farm" ,
6
6
"authors" : [
7
7
" Rod Vagg @rvagg <[email protected] > (https://github.com/rvagg)"
You can’t perform that action at this time.
0 commit comments