From 8e22da08af84994e1a927dea7bfc1ce81da62715 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 11 Jul 2021 07:08:01 +0000 Subject: [PATCH] More forgiving --- system/src/riju-system-privileged.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/riju-system-privileged.c b/system/src/riju-system-privileged.c index aae1b34..f193bf0 100644 --- a/system/src/riju-system-privileged.c +++ b/system/src/riju-system-privileged.c @@ -57,7 +57,7 @@ char *parseImageHash(char *imageHash) void wait_alarm(int signum) { (void)signum; - die("container did not come up within 1 second"); + die("container did not come up within 10 seconds"); } void session(char *uuid, char *lang, char *imageHash) @@ -118,7 +118,7 @@ void session(char *uuid, char *lang, char *imageHash) ts_10ms.tv_sec = 0; ts_10ms.tv_nsec = 1000 * 1000 * 10; signal(SIGALRM, wait_alarm); - alarm(1); + alarm(10); int fd; while (1) { fd = open(fifo, O_WRONLY);