Update src/worker/worker-options.ts
authorAlessandro Pio Ardizio <alessandroardizio94@gmail.com>
Tue, 16 Feb 2021 10:22:31 +0000 (11:22 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Feb 2021 10:22:31 +0000 (11:22 +0100)
Co-authored-by: Shinigami <chrissi92@hotmail.de>
src/worker/worker-options.ts

index 4e38c296bd15d4569687ff28d1f501e1d320db3e..ad212a2dd92a8297cd2e561c7b74ef71b342a795 100644 (file)
@@ -33,7 +33,7 @@ export interface WorkerOptions {
    * HARD: If last active time is greater than `maxInactiveTime` option, but a task is still running then the worker will be deleted.
    * This option only apply to the newly created workers.
    *
-   * @default SOFT
+   * @default `'SOFT'`
    */
   killBehavior?: 'HARD' | 'SOFT'
 }