Variable KillBehaviorsConst

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.

Generated using TypeDoc