X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FWorkerOptions.html;h=1addf05e7d528a7ec4712105dc34fc2801297f38;hb=5ee29ca61ee790da371ad3a83fc7b9c79fb02de2;hp=951731b645441f5434af0c282a90801ff373aa1e;hpb=9867896b122160ea5d8e6dbccba4cc5916bf523b;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 951731b6..1addf05e 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
killOptional
killOptional
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.
The function to call when a worker is killed.