X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FWorkerOptions.html;h=6e69b4a6d0f5be178cc6df3e3a517159587e0ae1;hb=460aaab4b4cb6857827d3e56e11122bffc01db8a;hp=f1fe5415797136b04ce7d753929f9c4076822675;hpb=e1230e386080ae19766e2a7863c807a90f13a3ef;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index f1fe5415..6e69b4a6 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,4 +1,4 @@ -
Optional
asyncOptional
asyncOptional
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.KillBehaviors.SOFT
Optional
maxMaximum waiting time in milliseconds for tasks.
After this time, newly created workers will be terminated. The last active time of your worker unit will be updated when a task is submitted to a worker or when a worker terminate a task.
@@ -72,14 +74,15 @@ when this timeout expires your tasks is interrupted and the worker is killed ifkillBehavior
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
Generated using TypeDoc
Whether your worker will perform asynchronous or not.
Default Value
false
+ +Deprecated
This option will be removed in the next major version.