mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
fix: avoid zero-delay heartbeat rerun on in-flight skip (openclaw#14901) thanks @joeykrug
This commit is contained in:
@@ -916,6 +916,8 @@ export function startHeartbeatRunner(opts: {
|
||||
continue;
|
||||
}
|
||||
if (res.status === "skipped" && res.reason === "requests-in-flight") {
|
||||
agent.lastRunMs = now;
|
||||
agent.nextDueMs = now + agent.intervalMs;
|
||||
scheduleNext();
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user