X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=bdbc86e09a07d403792ff8303bea99e4f8aaebc9;hb=fa6436344997918dbda3e94063b4c2e2e4a892c3;hp=bf4f7133a4f2967e1fcb6e821fabc20d78041e29;hpb=d61f24ac46792cfab91a154667f24fc57c90e66e;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index bf4f7133..bdbc86e0 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,11 +1,13 @@
Optional
killkillBehavior
dictates if your async unit (worker/process) will be deleted in case that a task is active on it.
currentTime - lastActiveTime
is greater than maxInactiveTime
but a task is still running, then the worker won't be deleted.lastActiveTime
is greater than maxInactiveTime
but a task is still running, then the worker will be deleted.currentTime - lastActiveTime
is greater than maxInactiveTime
but a task is still running, then the worker will be deleted.This option only apply to the newly created workers.
-KillBehaviors.SOFT
+KillBehaviors.SOFT
Optional
maxkillBehavior
is set to KillBehaviors.SOFT
your tasks have no timeout and your workers will not be terminated until your task is completed.60000 ms
+60000 ms
Whether your worker will perform asynchronous or not.
-Default
false
+Default Value
false