aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-data-service.in
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-04-01 21:51:29 +0100
committerChristopher Baines <mail@cbaines.net>2024-04-01 21:51:29 +0100
commitb5f59189e17161b2396adf7b5440f04a2a8d5c01 (patch)
tree6ce501e452f141fc3289cd3a4bf5a70c06bc7bda /scripts/guix-data-service.in
parent5f5b8fc91dae1a8cd01c3cbee05242d0a46f123f (diff)
downloaddata-service-b5f59189e17161b2396adf7b5440f04a2a8d5c01.tar
data-service-b5f59189e17161b2396adf7b5440f04a2a8d5c01.tar.gz
Move backfilling in to the server module and use the connection pool
To avoid using the old PostgreSQL connection per thread code.
Diffstat (limited to 'scripts/guix-data-service.in')
-rw-r--r--scripts/guix-data-service.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in
index dc6b432..2393f1e 100644
--- a/scripts/guix-data-service.in
+++ b/scripts/guix-data-service.in
@@ -197,13 +197,6 @@
(lambda (port)
(simple-format port "~A\n" (getpid)))))
- (call-with-new-thread
- (lambda ()
- (with-postgresql-connection-per-thread
- "backfill"
- (lambda ()
- (backfill-guix-revision-package-derivation-distribution-counts)))))
-
(start-substitute-query-threads)
(call-with-new-thread