MCPcopy Create free account
hub / github.com/catid/supercharger / handler

Method handler

codegen/docker_execute.py:50–51  ·  view source on GitHub ↗
(signum, frame)

Source from the content-addressed store, hash-verified

48
49 # Define a signal handler for the timeout
50 def handler(signum, frame):
51 raise TimeoutError("Execution timed out")
52
53 # Set a signal alarm to raise a TimeoutError after 30 seconds
54 signal.signal(signal.SIGALRM, handler)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected