X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fvariables%2FKillBehaviors.html;h=acc142604511a9530b5029711c42519e2d64d32f;hb=ac2cb9e206b5e67cc52124eb334507f5dce230d5;hp=fda12bd26e1b1e28d284a79b1cc475a588c3dbf4;hpb=79458fb6e10234a237757111e710f8f71424fa06;p=poolifier.git diff --git a/docs/variables/KillBehaviors.html b/docs/variables/KillBehaviors.html index fda12bd2..beab3b8d 100644 --- a/docs/variables/KillBehaviors.html +++ b/docs/variables/KillBehaviors.html @@ -1,4 +1,4 @@ -KillBehaviors | poolifier
+KillBehaviors | poolifier
-
+

Variable KillBehaviorsConst

-
KillBehaviors: Readonly<{
    HARD: "HARD";
    SOFT: "SOFT";
}> = ...
+
KillBehaviors: Readonly<{
    HARD: "HARD";
    SOFT: "SOFT";
}> = ...

Enumeration of kill behaviors.

-
+
+

Type declaration

+
    +
  • +
    Readonly HARD: "HARD"
    +

    If currentTime - lastActiveTime is greater than maxInactiveTime but a task is still executing or queued, then the worker will be deleted.

    +
    +
  • +
  • +
    Readonly SOFT: "SOFT"
    +

    If currentTime - lastActiveTime is greater than maxInactiveTime but a task is still executing or queued, then the worker wont be deleted.

    +
    +
+
- + -
+

Theme

+ +

Generated using TypeDoc

-
\ No newline at end of file +
\ No newline at end of file