Skip to main content
A lease is a time-limited claim on one job by one worker. Any executor can use leases: Leases in piloop.capabilities. The built-in workers executor runs every job on one.

A silent worker

The timing follows the two stages of Kubernetes, with its defaults. For workers, each number is a key of [plugins.executor]: A worker that hears nothing back stops its own jobs two heartbeats before its leases expire, so a job never runs twice.