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

Method worker

tests/test_control_layer.py:284–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282 errors = []
283
284 def worker():
285 try:
286 for _ in range(20):
287 cb.record_failure()
288 cb.record_success()
289 except Exception as e:
290 errors.append(e)
291
292 threads = [threading.Thread(target=worker) for _ in range(5)]
293 for t in threads: t.start()

Callers

nothing calls this directly

Calls 2

record_failureMethod · 0.80
record_successMethod · 0.80

Tested by

no test coverage detected