[PATCH] services: guix-data-service: Increase timeout for service start.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Timotej Lazar
Owner
unassigned
Submitted by
Timotej Lazar
Severity
normal
T
T
Timotej Lazar wrote on 29 May 2022 19:36
(address . guix-patches@gnu.org)(name . Timotej Lazar)(address . timotej.lazar@araneo.si)
20220529173600.16057-1-timotej.lazar@araneo.si
The guix-data-service system test fails on a slower machine with a one-minute
time limit.

* gnu/services/guix.scm (guix-data-service): Double the #:pid-file-timeout.
---
gnu/services/guix.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm
index 413bf51ad8..ad7b020b69 100644
--- a/gnu/services/guix.scm
+++ b/gnu/services/guix.scm
@@ -643,7 +643,7 @@ (define (guix-data-service-shepherd-services config)
#:group #$group
#:pid-file "/var/run/guix-data-service/pid"
;; Allow time for migrations to run
- #:pid-file-timeout 60
+ #:pid-file-timeout 120
#:environment-variables
`(,(string-append
"GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale")
--
2.36.1
L
L
Ludovic Courtès wrote on 5 Jun 2022 23:32
(name . Timotej Lazar)(address . timotej.lazar@araneo.si)(address . 55711-done@debbugs.gnu.org)
877d5ueqzz.fsf@gnu.org
Hi Timotej,

Timotej Lazar <timotej.lazar@araneo.si> skribis:

Toggle quote (5 lines)
> The guix-data-service system test fails on a slower machine with a one-minute
> time limit.
>
> * gnu/services/guix.scm (guix-data-service): Double the #:pid-file-timeout.

Applied, thanks.

Ludo’.
Closed
?