fix: cron wakeMode now waits for heartbeat (#666) (thanks @roshanasingh4)

This commit is contained in:
Peter Steinberger
2026-01-10 18:05:23 +01:00
parent 91c870a0c4
commit b383fbeed3
4 changed files with 101 additions and 25 deletions

View File

@@ -723,7 +723,7 @@ export async function startGatewayServer(
return await runHeartbeatOnce({
cfg: runtimeConfig,
reason: opts?.reason,
deps: { runtime },
deps: { ...deps, runtime: defaultRuntime },
});
},
runIsolatedAgentJob: async ({ job, message }) => {