aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-data-service.in
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-11-16 19:08:46 +0000
committerChristopher Baines <mail@cbaines.net>2021-11-16 19:08:46 +0000
commit8beab2511cb3d4840f4479e3f99a59d37b9ecf73 (patch)
tree8df5de1676897d8184aa67a2b52231697f36aa6e /scripts/guix-data-service.in
parentba9bcbf7356c0ae703bd583fea4f3f37104da10c (diff)
downloaddata-service-8beab2511cb3d4840f4479e3f99a59d37b9ecf73.tar
data-service-8beab2511cb3d4840f4479e3f99a59d37b9ecf73.tar.gz
Query substitutes for latest processed revisions periodically
This is a step towards having up to date substitute availability data.
Diffstat (limited to 'scripts/guix-data-service.in')
-rw-r--r--scripts/guix-data-service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in
index 7eae735..3e80f03 100644
--- a/scripts/guix-data-service.in
+++ b/scripts/guix-data-service.in
@@ -33,6 +33,7 @@
(guix pki)
(guix-data-service config)
(guix-data-service database)
+ (guix-data-service substitutes)
(guix-data-service web server)
(guix-data-service web controller)
(guix-data-service web nar controller))
@@ -227,6 +228,8 @@
(%show-error-details
(assoc-ref opts 'show-error-details)))
+ (start-substitute-query-thread)
+
;; Provide some visual space between the startup output and the server
;; starting
(simple-format #t "\n\nStarting the server on http://~A:~A/\n\n"