MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / _handler

Method _handler

bench.py:52–53  ·  view source on GitHub ↗
(self, signum, frame)

Source from the content-addressed store, hash-verified

50
51 # --- signal-based (Unix) -------------------------------------------
52 def _handler(self, signum, frame):
53 raise BenchTimeoutError(f"Timed out after {self.seconds}s")
54
55 def __enter__(self):
56 if self._use_signal:

Callers

nothing calls this directly

Calls 1

BenchTimeoutErrorClass · 0.85

Tested by

no test coverage detected