From: Alessandro Pio Ardizio Date: Tue, 16 Feb 2021 10:20:11 +0000 (+0100) Subject: Update src/worker/worker-options.ts X-Git-Tag: v2.0.0-beta.2~17^2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a60fa7710248e2a7e30aa3a33852570fc0ad6dec;p=poolifier.git Update src/worker/worker-options.ts Co-authored-by: Shinigami --- diff --git a/src/worker/worker-options.ts b/src/worker/worker-options.ts index 14cb7e32..68aa71e6 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -14,7 +14,7 @@ export interface WorkerOptions { * Maximum 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. - * If killBehavior is set to HARD this value represents also the timeout for the tasks that you submit to the pool, + * If `killBehavior` is set to `HARD` this value represents also the timeout for the tasks that you submit to the pool, * when this timeout expires your tasks is interrupted and the worker is killed if is not part of the minimum size of the pool. * If `killBehavior` is set to `SOFT` your tasks have no timeout and your workers will not be terminated until your task is finished. *