From 65a178695938daff138a30293b3b7d28427a8791 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 15 Nov 2023 13:07:57 +0000 Subject: Call wait-condition-variable with longer timeouts The hook processing threads seem to be getting stuck in wait-condition-variable where the timeout is in the past. Maybe setting a longer timeout will help avoid this. --- guix-build-coordinator/utils.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guix-build-coordinator') diff --git a/guix-build-coordinator/utils.scm b/guix-build-coordinator/utils.scm index dd27012..fdd7ee3 100644 --- a/guix-build-coordinator/utils.scm +++ b/guix-build-coordinator/utils.scm @@ -1150,7 +1150,7 @@ References: ~a~%" (if (wait-condition-variable job-available pool-mutex - (+ 9 (time-second (current-time)))) + (+ 60 (time-second (current-time)))) (get-job running-jobs) #f)))) (if job-args @@ -1228,7 +1228,7 @@ References: ~a~%" (wait-condition-variable job-available pool-mutex - (+ 15 (time-second (current-time))))) + (+ 60 (time-second (current-time))))) #:unwind? #t)))) (start-new-threads-if-necessary (get-thread-count))) -- cgit v1.2.3