diff --git a/src/infra/heartbeat-runner.ts b/src/infra/heartbeat-runner.ts index 15d93286a3..44defb25e8 100644 --- a/src/infra/heartbeat-runner.ts +++ b/src/infra/heartbeat-runner.ts @@ -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; }