From: Alessandro Pio Ardizio Date: Tue, 16 Feb 2021 10:20:28 +0000 (+0100) Subject: Update src/worker/worker-options.ts X-Git-Tag: v2.0.0-beta.2~17^2~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f4e4d9a5fa0958c4ae0cc80f223f55a2a0e3ea62;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 68aa71e6..b704dced 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -15,7 +15,7 @@ export interface WorkerOptions { * 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, - * when this timeout expires your tasks is interrupted and the worker is killed if is not part of the minimum size of the pool. + * when this timeout expires your tasks is interrupted and the worker is killed if it 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. * * @default 60.000 ms