Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Emmimal/control-layer
/ is_open
Method
is_open
control_layer.py:554–555 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
552
return
self._state
553
554
def
is_open(self) -> bool:
555
return
self.state == CircuitState.OPEN
556
557
def
record_success(self) -> None:
558
with
self._lock:
Callers
5
test_starts_closed
Method · 0.95
test_opens_after_threshold
Method · 0.95
test_success_resets_failures
Method · 0.95
test_half_open_after_recovery
Method · 0.95
run
Method · 0.80
Calls
no outgoing calls
Tested by
4
test_starts_closed
Method · 0.76
test_opens_after_threshold
Method · 0.76
test_success_resets_failures
Method · 0.76
test_half_open_after_recovery
Method · 0.76