Skip to main content

Module provider

Module provider 

Source
Expand description

Provider-local backpressure and circuit breaking.

Structs§

ProviderGate
Bulkhead plus circuit breaker guarding one provider.
ProviderLimits
Bulkhead, circuit-breaker and backoff limits of a provider.
ProviderPermit
Holding a permit keeps provider capacity reserved. Dropping it without a record_* call releases capacity and clears a recovery probe without touching the failure counter, so a store error or a panic can never leave the circuit stuck open.

Enums§

ProviderBlock
Why a permit was refused.
WorkPriority
Dispatch priority; higher priorities keep reserved capacity.