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

Method reset

control_layer.py:575–579  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

573 self._state = CircuitState.OPEN
574
575 def reset(self) -> None:
576 with self._lock:
577 self._failures = 0
578 self._state = CircuitState.CLOSED
579 self._last_failure_time = None
580
581
582# =============================================================================

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected