Skip to main content

Module heartbeat

Module heartbeat 

Source
Expand description

The heartbeat a running iteration keeps refreshing.

Constants§

KEEP_ALIVE_INTERVAL 🔒
How often a running iteration refreshes its heartbeat. Under half the shortest phase interval, so even the 10-second phases never read as stale mid-call.

Functions§

keep_alive 🔒
Refreshes one phase’s heartbeat until dropped, so a long study registry call does not raise the stale-worker alert.