From a60fa7710248e2a7e30aa3a33852570fc0ad6dec Mon Sep 17 00:00:00 2001 From: Alessandro Pio Ardizio Date: Tue, 16 Feb 2021 11:20:11 +0100 Subject: [PATCH] Update src/worker/worker-options.ts Co-authored-by: Shinigami --- src/worker/worker-options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. * -- 2.34.1