prefect.server.api.workers
Routes for interacting with work queue objects.
Functions
schedule_readiness_update
key so repeated polls don’t pile up tasks. When
the poll would move something to READY, any pending task is replaced
instead: a previous attempt can be left pending with its key still known
(for example, when a worker’s claim fails during a Redis disruption) and
would otherwise block every later poll until docket’s redelivery_timeout.