X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fvariables%2FKillBehaviors.html;h=9604fc73c125695611ea55a66e59de7d0d432ada;hb=a6d9dccfaf39e185c896747260d668fcb683a8ed;hp=fb9fdeafe3bb2ebc6d35445ad7d1a3a1b8606eb7;hpb=18ba88e2f8612c6137bf564388ce8f905ae6d4ee;p=poolifier.git diff --git a/docs/variables/KillBehaviors.html b/docs/variables/KillBehaviors.html index fb9fdeaf..9604fc73 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