Expand description
Per-provider circuit breaker for the Kroki-rs server.
Implements the Closed → Open → Half-Open state machine pattern. Each diagram provider type gets its own independent circuit breaker. When the circuit is open, requests fail immediately with 503 without invoking the actual provider.
Structs§
- Circuit
Breaker Manager - Manages circuit breakers for all diagram providers.
- Provider
Circuit 🔒 - Internal state for a single provider’s circuit breaker.
Enums§
- Circuit
State - Circuit breaker states.