aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web')
-rw-r--r--guix-data-service/web/build-server/controller.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix-data-service/web/build-server/controller.scm b/guix-data-service/web/build-server/controller.scm
index e759fc8..70ee22e 100644
--- a/guix-data-service/web/build-server/controller.scm
+++ b/guix-data-service/web/build-server/controller.scm
@@ -20,6 +20,7 @@
#:use-module (ice-9 match)
#:use-module (rnrs bytevectors)
#:use-module (json)
+ #:use-module (squee)
#:use-module (fibers)
#:use-module (prometheus)
#:use-module (guix-data-service utils)
@@ -218,6 +219,8 @@
(with-postgresql-transaction
conn
(lambda (conn)
+ (exec-query conn "SET LOCAL lock_timeout = '5s';")
+
(handle-derivation-events
conn
filtered-items))))))