aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-05-04 18:06:02 +0100
committerChristopher Baines <mail@cbaines.net>2022-05-04 18:18:10 +0100
commitaf46b8bcd3fa8df648b911c422512c41bfa2a4f6 (patch)
tree0dcd83035d0278f5dc302e5f7dfcc9087ec3150f /scripts
parente1837f894a25ff229e49ae6afe03a60edadd85e8 (diff)
downloadnar-herder-af46b8bcd3fa8df648b911c422512c41bfa2a4f6.tar
nar-herder-af46b8bcd3fa8df648b911c422512c41bfa2a4f6.tar.gz
Update the nar_files_total metric when processing changes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index 95de7db..c572106 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -358,7 +358,8 @@
(and=> (assq-ref opts 'mirror)
(lambda (mirror)
- (start-fetch-changes-thread database mirror)
+ (start-fetch-changes-thread database mirror
+ metrics-registry)
(when (assq-ref opts 'storage)
(start-mirroring-thread database