/** * Graceful-shutdown budgets are shared with the CLI/PM2 supervisor. Keep the * ordering monotonic: the longest pre-lineage remote operation is bounded at * 10s (Riff create/follow-up; Mojo init waits at most 8s), * admission restoration after a refused prepare at 11s, and ordinary worker * exit at 3s. Shutdown never cancels accepted remote work as a fallback. */ export declare const REMOTE_SHUTDOWN_DRAIN_TIMEOUT_MS = 12000; /** Admission restoration can wait for the same bounded 10s create/follow-up * that prepare was draining. The daemon keeps its retirement fence throughout. */ export declare const REMOTE_ADMISSION_RESTORE_TIMEOUT_MS = 11000; /** Bounded acquisition of the bot-wide mutation lease. A timed-out waiter is * removed and can never run after shutdown has already been refused. */ export declare const BOT_TURN_MUTATION_SHUTDOWN_ACQUIRE_TIMEOUT_MS = 1000; /** Initial all-owner snapshot and phase-2 batch CAS each use one short lock. */ export declare const REMOTE_SHUTDOWN_INITIAL_SNAPSHOT_TIMEOUT_MS = 1000; export declare const REMOTE_SHUTDOWN_BATCH_PERSIST_TIMEOUT_MS = 1000; /** Scheduling/logging slack inside the supervisor-visible daemon budget. */ export declare const DAEMON_SHUTDOWN_OVERHEAD_MS = 2000; export declare const DAEMON_WORKER_EXIT_GRACE_MS = 3000; export declare const DAEMON_SHUTDOWN_MAX_MS: number; export declare const PM2_DAEMON_KILL_TIMEOUT_MS = 29000; export declare const PM2_DAEMON_RESTART_DELAY_MS = 3000; /** A full restart-delay plus projection jitter. The fleet helper must observe * this quiet window after every signalled generation exits. */ export declare const FLEET_SUCCESSOR_SETTLE_MS: number; export declare const FLEET_DAEMON_EXIT_WAIT_MS = 60000; //# sourceMappingURL=shutdown-budgets.d.ts.map