"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExpectedTerminationReasons = void 0;
/**
 * Reasons that indicate expected/managed terminations initiated by BatchCluster
 * (as opposed to unexpected exits like crashes, errors, or timeouts).
 *
 * These correspond to proactive process lifecycle management:
 * - "ending": Cluster is shutting down
 * - "ended": Process already shut down
 * - "idle": Process was idle too long (maxIdleMsPerProcess)
 * - "old": Process ran too long (maxProcAgeMillis)
 * - "worn": Process handled too many tasks (maxTasksPerProcess)
 * - "tooMany": maxProcs was reduced
 */
exports.ExpectedTerminationReasons = [
    "ending",
    "ended",
    "idle",
    "old",
    "worn",
    "tooMany",
];
//# sourceMappingURL=WhyNotHealthy.js.map