From 3e1c589eb9a1025b8561fae0f82f91e80e7be067 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 8 Jun 2024 11:35:41 +0100 Subject: Set %patchwork-series-default-count earlier So it's set for the database threads. --- guix-qa-frontpage/server.scm | 2 -- scripts/guix-qa-frontpage.in | 3 ++- 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")) -- cgit v1.2.3