aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-08-14 20:12:19 +0100
committerChristopher Baines <mail@cbaines.net>2024-08-14 20:12:19 +0100
commitb2dcccb26479598a662f1c64e90b425379412fc0 (patch)
treed45fcc5798538d5e45289acfd36ae3f4939d6794 /guix-data-service/web
parentbfb4ff31012cb14694db9a78261e62536f98e2d5 (diff)
downloaddata-service-b2dcccb26479598a662f1c64e90b425379412fc0.tar
data-service-b2dcccb26479598a662f1c64e90b425379412fc0.tar.gz
Name the resource pools
Diffstat (limited to 'guix-data-service/web')
-rw-r--r--guix-data-service/web/server.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix-data-service/web/server.scm b/guix-data-service/web/server.scm
index 1be3ef4..cc67624 100644
--- a/guix-data-service/web/server.scm
+++ b/guix-data-service/web/server.scm
@@ -175,6 +175,7 @@ port. Also, the port used can be changed by passing the --port option.\n"
"web"
postgresql-statement-timeout))
(floor (/ postgresql-connections 2))
+ #:name "web"
#:idle-seconds 30
#:destructor
(lambda (conn)
@@ -187,6 +188,7 @@ port. Also, the port used can be changed by passing the --port option.\n"
"web-reserved"
postgresql-statement-timeout))
(floor (/ postgresql-connections 2))
+ #:name "web-reserved"
#:idle-seconds 600
#:destructor
(lambda (conn)