Skip to main content

Module delivery

Module delivery 

Source
Expand description

Schedule-to-start hand-off to a live worker (where SATURATED is emitted). Hand-off of a dispatched task to a live compatible worker, bounded by the schedule-to-start clock.

This is where QueueServiceReason::Saturated is really emitted, and the only place it can be: a saturated queue is by definition one with compatible pollers connected, so selection SUCCEEDS and the unservability shows up at intake. Without a configured schedule-to-start timeout the behaviour is exactly what it was — one try_send, and a full or closed intake fails the dispatch immediately — because inventing a wait would be inventing a timeout.

Enums§

DeliveryRefusal
Why a task could not be handed to the selected worker.

Constants§

PARK_POLL_INTERVAL
Cadence at which a saturated intake is re-offered the task.

Functions§

deliver_within_schedule_to_start
Offer message to sender until it is accepted or the schedule-to-start clock expires.