Set Git timeouts
In an attempt to avoid Git operations hanging.
This commit is contained in:
parent
79099bd34e
commit
6c56b8354f
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
||||||
#:use-module (knots)
|
#:use-module (knots)
|
||||||
#:use-module ((knots thread-pool) #:select (set-thread-name))
|
#:use-module ((knots thread-pool) #:select (set-thread-name))
|
||||||
#:use-module (git)
|
#:use-module (git)
|
||||||
|
#:use-module (git settings)
|
||||||
#:use-module (guix git)
|
#:use-module (guix git)
|
||||||
#:use-module (guix channels)
|
#:use-module (guix channels)
|
||||||
#:use-module (guix-data-service database)
|
#:use-module (guix-data-service database)
|
||||||
|
|
@ -45,6 +46,10 @@
|
||||||
(const #t))
|
(const #t))
|
||||||
|
|
||||||
(libgit2-init!)
|
(libgit2-init!)
|
||||||
|
|
||||||
|
(set-server-connection-timeout! 60000)
|
||||||
|
(set-server-timeout! 60000)
|
||||||
|
|
||||||
(honor-system-x509-certificates!)
|
(honor-system-x509-certificates!)
|
||||||
|
|
||||||
(with-postgresql-connection
|
(with-postgresql-connection
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue