Set Git timeouts

In an attempt to avoid Git operations hanging.
This commit is contained in:
Christopher Baines 2025-05-12 11:34:43 +01:00
parent 79099bd34e
commit 6c56b8354f

View file

@ -25,6 +25,7 @@
#:use-module (knots)
#:use-module ((knots thread-pool) #:select (set-thread-name))
#:use-module (git)
#:use-module (git settings)
#:use-module (guix git)
#:use-module (guix channels)
#:use-module (guix-data-service database)
@ -45,6 +46,10 @@
(const #t))
(libgit2-init!)
(set-server-connection-timeout! 60000)
(set-server-timeout! 60000)
(honor-system-x509-certificates!)
(with-postgresql-connection