aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-05-04 18:30:02 +0100
committerChristopher Baines <mail@cbaines.net>2022-05-04 18:30:02 +0100
commit7c582f187aff9ba9f491b8a2961211a6cc3d6f78 (patch)
treec6ba845ec919f7999b1ef8b2bc81a76cf5c9479a /scripts
parent90ec2f677a38c2bef0b4d4703b68e53015e344b6 (diff)
downloadnar-herder-7c582f187aff9ba9f491b8a2961211a6cc3d6f78.tar
nar-herder-7c582f187aff9ba9f491b8a2961211a6cc3d6f78.tar.gz
Initialise the nar_files_total metric when fetching changes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index e6f4a0b..165c0e4 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -359,7 +359,9 @@
(and=> (assq-ref opts 'mirror)
(lambda (mirror)
- (start-fetch-changes-thread database mirror
+ (start-fetch-changes-thread database
+ canonical-storage
+ mirror
metrics-registry)
(when (assq-ref opts 'storage)