From: Alessandro Pio Ardizio Date: Tue, 16 Feb 2021 10:19:10 +0000 (+0100) Subject: Update src/worker/worker-options.ts X-Git-Tag: v2.0.0-beta.2~17^2~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=143f3ca22ba9859afed14f6a137d676a4f2cc0a0;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 8bb9cc50..dd8aaef4 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -16,7 +16,7 @@ export interface WorkerOptions { * 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, * 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. + * If `killBehavior` is set to `SOFT` your tasks have no timeout and your workers will not be terminated until your task is finished. * * @default 60.000 ms */