Upgrade openclaw to 4.9 (#804)

This commit is contained in:
paisley
2026-04-09 18:51:06 +08:00
committed by GitHub
Unverified
parent 96c9f6fe5b
commit 467fcf7e92
8 changed files with 3101 additions and 572 deletions

View File

@@ -272,6 +272,15 @@ export class GatewayManager extends EventEmitter {
this.setStatus({ pid: undefined });
}
// Treat a successful reconnect to the owned process as a restart
// completion (e.g. after a Gateway code-1012 in-process restart).
// This updates lastRestartCompletedAt so that flushDeferredRestart
// drops any deferred restart requested before this reconnect,
// avoiding a redundant kill+respawn cycle.
if (isOwnProcess) {
this.restartController.recordRestartCompleted();
}
this.startHealthCheck();
},
waitForPortFree: async (port) => {