test: less strict expectation for CI
[poolifier.git] / src / pools / pool.ts
index 7bc8cf850b105983907d7b74cbab618121f8560b..6058a3dea2aa9c0d55ce5f65bba695406a8875c9 100644 (file)
@@ -122,6 +122,12 @@ export interface TasksQueueOptions {
    * @defaultValue true
    */
   readonly tasksStealingOnBackPressure?: boolean
+  /**
+   * Queued tasks finished timeout in milliseconds at worker node termination.
+   *
+   * @defaultValue 2000
+   */
+  readonly tasksFinishedTimeout?: number
 }
 
 /**