MCPcopy Create free account
hub / github.com/Emmimal/control-layer / CircuitState

Class CircuitState

control_layer.py:519–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517# =============================================================================
518
519class CircuitState(str, Enum):
520 CLOSED = "closed" # Normal operation
521 OPEN = "open" # Failing — reject calls immediately
522 HALF_OPEN = "half_open" # Testing recovery
523
524
525class CircuitBreaker:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected