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
Returns a specification to start this module under a supervisor.
Renew all tracked leases immediately.
Track a lease for periodic renewal.
Stop tracking a run's lease.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
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.