fix: avoid stale cleanup for reachable gateway probes · openclaw/openclaw@80fc9b1
shakkernerd
·
2026-06-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -373,18 +373,14 @@ export async function inspectGatewayRestart(params: {
|
373 | 373 | try { |
374 | 374 | const reachable = await loadReachability(); |
375 | 375 | if (reachable.reachable) { |
376 | | -const staleGatewayPids = portUsage.listeners |
377 | | -.filter((listener) => classifyPortListener(listener, params.port) === "gateway") |
378 | | -.map((listener) => listener.pid) |
379 | | -.filter((pid): pid is number => Number.isFinite(pid)); |
380 | 376 | return applyChannelProbeErrors( |
381 | 377 | applyActivatedPluginErrors( |
382 | 378 | applyExpectedVersion( |
383 | 379 | { |
384 | 380 | runtime, |
385 | 381 | portUsage, |
386 | 382 | healthy: true, |
387 | | - staleGatewayPids, |
| 383 | +staleGatewayPids: [], |
388 | 384 | gatewayVersion: reachable.gatewayVersion, |
389 | 385 | ...(reachable.activatedPluginErrors.length > 0 |
390 | 386 | ? { activatedPluginErrors: reachable.activatedPluginErrors } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。