mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:12:43 +00:00
fix(daemon): extend restart health timeout and improve restart errors
This commit is contained in:
@@ -8,8 +8,11 @@ import {
|
||||
} from "../../infra/ports.js";
|
||||
import { sleep } from "../../utils.js";
|
||||
|
||||
export const DEFAULT_RESTART_HEALTH_ATTEMPTS = 8;
|
||||
export const DEFAULT_RESTART_HEALTH_DELAY_MS = 450;
|
||||
export const DEFAULT_RESTART_HEALTH_TIMEOUT_MS = 60_000;
|
||||
export const DEFAULT_RESTART_HEALTH_DELAY_MS = 500;
|
||||
export const DEFAULT_RESTART_HEALTH_ATTEMPTS = Math.ceil(
|
||||
DEFAULT_RESTART_HEALTH_TIMEOUT_MS / DEFAULT_RESTART_HEALTH_DELAY_MS,
|
||||
);
|
||||
|
||||
export type GatewayRestartSnapshot = {
|
||||
runtime: GatewayServiceRuntime;
|
||||
|
||||
Reference in New Issue
Block a user