From: Jérôme Benoit Date: Sun, 17 Sep 2023 15:52:58 +0000 (+0200) Subject: docs: refine code comment X-Git-Tag: v2.7.0~28 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3c18d144b235ba0f1d88dd7e5a73b79dcfeebf7d;p=poolifier.git docs: refine code comment Signed-off-by: Jérôme Benoit --- diff --git a/src/worker/worker-options.ts b/src/worker/worker-options.ts index 10589643..b2efb7ac 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -38,7 +38,7 @@ export interface WorkerOptions { */ killBehavior?: KillBehavior /** - * Maximum 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.