diff options
author | Christopher Baines <mail@cbaines.net> | 2024-04-01 21:51:29 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-04-01 21:51:29 +0100 |
commit | b5f59189e17161b2396adf7b5440f04a2a8d5c01 (patch) | |
tree | 6ce501e452f141fc3289cd3a4bf5a70c06bc7bda /scripts/guix-data-service.in | |
parent | 5f5b8fc91dae1a8cd01c3cbee05242d0a46f123f (diff) | |
download | data-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.in | 7 |
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 |