10000 fix(execution): timeout on client as a workaround to avoid getting stuck · bigcode-project/selfcodealign@fc38d29 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc38d29

Browse files
committed
fix(execution): timeout on client as a workaround to avoid getting stuck
1 parent f0793d9 commit fc38d29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/star_align/execution_filter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ def containerized_run(item, limit_mb=4 * 1024):
105105

106106
idx, result, code, srv = item
107107
membound_code = make_python_membound_code_prefix(limit_mb) + code
108-
passed, output = exec_test(srv, membound_code, "", timeout=10)
108+
passed, output = exec_test(
109+
srv, membound_code, "", timeout=10, timeout_on_client=True
110+
)
109111
return (idx, result, code, passed, output)
110112

111113

0 commit comments

Comments
 (0)
0