mirror of https://github.com/openclaw/openclaw.git
fix: avoid zero-delay heartbeat rerun on in-flight skip (openclaw#14901) thanks @joeykrug
This commit is contained in:
parent
961ca3946b
commit
69bc49b2ae
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue