aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-06-08 11:35:41 +0100
committerChristopher Baines <mail@cbaines.net>2024-06-08 11:35:41 +0100
commit3e1c589eb9a1025b8561fae0f82f91e80e7be067 (patch)
treeafc740f3402af109a13012c98a798d8f6a264aea
parent34a9eaa2015a7d350e1d2d232c0cb127881844d7 (diff)
downloadqa-frontpage-3e1c589eb9a1025b8561fae0f82f91e80e7be067.tar
qa-frontpage-3e1c589eb9a1025b8561fae0f82f91e80e7be067.tar.gz
Set %patchwork-series-default-count earlier
So it's set for the database threads.
-rw-r--r--guix-qa-frontpage/server.scm2
-rw-r--r--scripts/guix-qa-frontpage.in3
2 files changed, 2 insertions, 3 deletions
diff --git a/guix-qa-frontpage/server.scm b/guix-qa-frontpage/server.scm
index 9fa3d52..a46777a 100644
--- a/guix-qa-frontpage/server.scm
+++ b/guix-qa-frontpage/server.scm
@@ -834,8 +834,6 @@ has no patches or has been closed.")
(when generate-reproducible.json
(start-generate-reproducible.json-thread))
- (%patchwork-series-default-count patch-issues-to-show)
-
(when manage-patch-branches?
(start-manage-patch-branches-thread database
metrics-registry
diff --git a/scripts/guix-qa-frontpage.in b/scripts/guix-qa-frontpage.in
index d20722f..c666901 100644
--- a/scripts/guix-qa-frontpage.in
+++ b/scripts/guix-qa-frontpage.in
@@ -267,7 +267,8 @@
(with-fluids ((%file-port-name-canonicalization 'none))
(parameterize
- ((%git-repository-location (string-append (getcwd) "/guix.git")))
+ ((%git-repository-location (string-append (getcwd) "/guix.git"))
+ (%patchwork-series-default-count patch-issues-to-show))
(let* ((metrics-registry (make-metrics-registry
#:namespace
"guixqafrontpage"))