Renews leases owned by local workflow engines.
Engines register their acquired lease here. On each heartbeat, the process renews every registered lease with the same owner/token pair. If renewal fails because the row no longer matches, the engine is told to stop itself.
Summary
Functions
Stop new run claims and hand off all locally tracked run leases.
Renew all tracked leases immediately.
Track a lease for periodic renewal.
Stop tracking a run's lease.
Functions
Stop new run claims and hand off all locally tracked run leases.
Engines get up to timeout_ms to finish their current workflow step and
release voluntarily. Engines still busy at the deadline are stopped before
their leases are fenced and released.
Renew all tracked leases immediately.
This is mainly useful for deterministic tests and shutdown paths.
Track a lease for periodic renewal.
Stop tracking a run's lease.