X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=d010e203a79e832d6f81af631225936de06b1ff4;hb=41e3e08eb7fbcde0a69cea17e697aacb222990a6;hp=ec58f3abe405103b7b745eee25e6d0493488bb29;hpb=0e502832d98443e291ea5558423ca0de86b96e13;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index ec58f3ab..d010e203 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,4 +1,4 @@ -WorkerOptions | poolifier - v2.6.42
+WorkerOptions | poolifier - v2.6.45
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.42
+
  • The search index is not available
  • poolifier - v2.6.45
    @@ -24,7 +24,7 @@
    • WorkerOptions
    +
  • Defined in src/worker/worker-options.ts:28
  • @@ -51,7 +51,7 @@

    Deprecated

    This option will be removed in the next major version.

    +
  • Defined in src/worker/worker-options.ts:65
  • killBehavior?: "SOFT" | "HARD"
    @@ -67,19 +67,21 @@
    +
  • Defined in src/worker/worker-options.ts:39
  • killHandler?: KillHandler

    The function to call when a worker is killed.

    -
    +
  • Defined in src/worker/worker-options.ts:58
  • maxInactiveTime?: number
    -

    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.

      @@ -93,7 +95,7 @@ when this timeout expires your tasks is interrupted before completion and remove
    +
  • Defined in src/worker/worker-options.ts:52