aboutsummaryrefslogtreecommitdiff
path: root/guix-qa-frontpage/server.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-05-16 18:36:14 +0100
committerChristopher Baines <mail@cbaines.net>2024-05-17 12:40:44 +0100
commit68863c77952f6c5d80b9082a9203857124d6a977 (patch)
tree5ad2e0126500b7f4b1cd9c1a5a82e4ae57f1c14c /guix-qa-frontpage/server.scm
parent65473b294b7fa7389a89751fc420ccd41dea7067 (diff)
downloadqa-frontpage-68863c77952f6c5d80b9082a9203857124d6a977.tar
qa-frontpage-68863c77952f6c5d80b9082a9203857124d6a977.tar.gz
Use fibers for refreshing issue and branch data
Diffstat (limited to 'guix-qa-frontpage/server.scm')
-rw-r--r--guix-qa-frontpage/server.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/guix-qa-frontpage/server.scm b/guix-qa-frontpage/server.scm
index 58262dc..ccfa985 100644
--- a/guix-qa-frontpage/server.scm
+++ b/guix-qa-frontpage/server.scm
@@ -847,6 +847,14 @@ has no patches or has been closed.")
(%fiberized-submit-build
(fiberize submit-build #:parallelism 8))
+ (start-refresh-patch-branches-data-fiber
+ database
+ metrics-registry
+ #:number-of-series-to-refresh patch-issues-to-show)
+
+ (start-refresh-non-patch-branches-data-fiber database
+ metrics-registry)
+
(when submit-builds?
(start-submit-patch-builds-fiber database
"http://127.0.0.1:8746"