aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-02-03 11:52:15 +0100
committerChristopher Baines <mail@cbaines.net>2023-02-03 11:52:15 +0100
commit901f15e0299559921a7c8e075ed8e77c34cbee96 (patch)
tree7b83a8dbbca1226b73d1cf151855322dc5e81036
parentd6be017939eafc65801f10f57767ae6d1391fed4 (diff)
downloadqa-frontpage-901f15e0299559921a7c8e075ed8e77c34cbee96.tar
qa-frontpage-901f15e0299559921a7c8e075ed8e77c34cbee96.tar.gz
Make the refresh data thread more specific
As I want to add another thread for non-patch branches.
-rw-r--r--guix-qa-frontpage/server.scm4
-rw-r--r--scripts/guix-qa-frontpage.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/guix-qa-frontpage/server.scm b/guix-qa-frontpage/server.scm
index 16b5597..7724ea7 100644
--- a/guix-qa-frontpage/server.scm
+++ b/guix-qa-frontpage/server.scm
@@ -50,7 +50,7 @@
#:use-module (guix-qa-frontpage view issue)
#:export (start-guix-qa-frontpage-web-server
- start-refresh-data-thread))
+ start-refresh-patch-branches-data-thread))
(define (make-controller assets-directory database metrics-registry)
@@ -441,7 +441,7 @@ Check if it's already running, or whether another process is using that
port. Also, the port used can be changed by passing the --port option.\n"
port)))))))
-(define (start-refresh-data-thread database)
+(define (start-refresh-patch-branches-data-thread database)
(define number-of-series-to-refresh 250)
(define (refresh-data)
diff --git a/scripts/guix-qa-frontpage.in b/scripts/guix-qa-frontpage.in
index a3a70af..38a52a5 100644
--- a/scripts/guix-qa-frontpage.in
+++ b/scripts/guix-qa-frontpage.in
@@ -121,7 +121,7 @@
(setup-database (assq-ref opts 'database)
metrics-registry)))
- (start-refresh-data-thread database)
+ (start-refresh-patch-branches-data-thread database)
(when (assq-ref opts 'submit-builds)
(start-submit-patch-builds-thread database