Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlyingFeather/DEA-SQL
/ timeout_handler
Function
timeout_handler
evaluation/test-suite-sql-eval/evaluation.py:638–639 ·
view source on GitHub ↗
(signum, frame)
Source
from the content-addressed store, hash-verified
636
pass
637
638
def
timeout_handler(signum, frame):
639
raise
TimeoutError(
"函数执行超时"
)
640
641
timeout = 600
642
signal.signal(signal.SIGALRM, timeout_handler)
Callers
nothing calls this directly
Calls
1
TimeoutError
Class · 0.85
Tested by
no test coverage detected