X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FWorkerOptions.html;h=9a13d70868f7bce8079f26a0ab1542f0bbe4147e;hb=1938bc376fa92d0c773c4c23b0305291ab483e6c;hp=0791e22c03466aa7f4f0751c1d8897cdd2fc7052;hpb=8bd0b5363ad2defbce7c1cc49e616c24ad135dde;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 0791e22c..9a13d708 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -23,7 +23,7 @@
false
Optional
killOptional
max60000 ms
killBehavior
dictates if your async unit (worker/process) will be deleted in case that a task is active on it.currentTime - lastActiveTime
is greater thanmaxInactiveTime
but a task is still running, then the worker won't be deleted.lastActiveTime
is greater thanmaxInactiveTime
but a task is still running, then the worker will be deleted.currentTime - lastActiveTime
is greater thanmaxInactiveTime
but a task is still running, then the worker will be deleted.This option only apply to the newly created workers.
Default Value
KillBehaviors.SOFT