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

Method record_success

control_layer.py:557–560  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

555 return self.state == CircuitState.OPEN
556
557 def record_success(self) -> None:
558 with self._lock:
559 self._failures = 0
560 self._state = CircuitState.CLOSED
561
562 def record_failure(self) -> None:
563 with self._lock:

Callers 3

runMethod · 0.80
workerMethod · 0.80

Calls

no outgoing calls

Tested by 2

workerMethod · 0.64