From 18b29bd58d1daa1752e981488445e0fcb100f2a7 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 30 Dec 2025 11:28:36 -0500 Subject: Implement task timeout * Add argument: --task-timeout=1[s,m,h] * Timed out tasks are SIGKILL'd * If killing a task fails, the entire program ends --- tests/test_multiprocessing.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_multiprocessing.c b/tests/test_multiprocessing.c index 7c9d695..b10f530 100644 --- a/tests/test_multiprocessing.c +++ b/tests/test_multiprocessing.c @@ -214,6 +214,7 @@ int main(int argc, char *argv[]) { test_mp_fail_fast, test_mp_stop_continue }; + globals.task_timeout = 60; STASIS_TEST_RUN(tests); STASIS_TEST_END_MAIN(); } -- cgit