X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FWorkerOptions.html;h=7e016e21067cf72a7cb14e629a4722341246602f;hb=34d8846f1e7e54273f3944f687336c5624a18f39;hp=951731b645441f5434af0c282a90801ff373aa1e;hpb=4608939f425568da5553db1f5bf883d4cca18e02;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 951731b6..7e016e21 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,4 +1,4 @@ -
This option will be removed in the next major version.
Optional
killThis option only apply to the newly created workers.
Optional
killThe function to call when a worker is killed.
Optional
maxMaximum waiting time in milliseconds for tasks on newly created workers.
+Maximum waiting time in milliseconds for tasks on newly created workers. It must be greater or equal than 5.
After this time, newly created workers will be terminated. The last active time of your worker will be updated when it terminates a task.
Generated using TypeDoc
Default Value