From: Jérôme Benoit Date: Sat, 15 Apr 2023 17:56:28 +0000 (+0200) Subject: docs: enhance worker options X-Git-Tag: v2.4.10~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1ff6b9de3a138ec0c48b68c90761227cf912ac67;p=poolifier.git docs: enhance worker options Signed-off-by: Jérôme Benoit --- diff --git a/src/worker/worker-options.ts b/src/worker/worker-options.ts index 30da0a64..9ef50ade 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -46,7 +46,7 @@ export interface WorkerOptions { * 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 `KillBehaviors.SOFT` your tasks have no timeout and your workers will not be terminated until your task is completed. * - * @defaultValue 60000 ms + * @defaultValue 60000 */ maxInactiveTime?: number /**