X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=10836ce822cb5ba9f3b6d278f35ad6a5c22db9ff;hb=71a64eca52278c2396cf7cb6e6c53fce3704f5ab;hp=7cb5491b12d5deb09ad0135786f5b78ab5612ce7;hpb=797996a92f40d5779cd31314b59462e41d529989;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 7cb5491b..10836ce8 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