diff options
author | Christopher Baines <mail@cbaines.net> | 2024-03-14 11:32:30 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-03-14 11:32:30 +0000 |
commit | 6cd5917688580ddf31a30429bceccf1346fa204a (patch) | |
tree | d5f5980274eb597c23471258bc7ed5fa30e4a9f4 | |
parent | 5265db0673f0f6d02a32cb2b9b11cd4c11ddfa53 (diff) | |
download | nar-herder-6cd5917688580ddf31a30429bceccf1346fa204a.tar nar-herder-6cd5917688580ddf31a30429bceccf1346fa204a.tar.gz |
Stop updating the nar_files_total metric twice
-rw-r--r-- | nar-herder/storage.scm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nar-herder/storage.scm b/nar-herder/storage.scm index 7da9942..f8fde12 100644 --- a/nar-herder/storage.scm +++ b/nar-herder/storage.scm @@ -635,9 +635,6 @@ When VERIFY-CERTIFICATE? is true, verify HTTPS server certificates." (match result ((storage-size . fetched-count) - (update-nar-files-metric metrics-registry - nar-file-counts - #:fetched-count fetched-count) fetched-count))) 0)) @@ -694,10 +691,6 @@ When VERIFY-CERTIFICATE? is true, verify HTTPS server certificates." (cons 'finished reply-channel)) (get-message reply-channel)) (iota parallelism))))) - - (update-nar-files-metric metrics-registry - nar-file-counts - #:fetched-count fetched-count) fetched-count)))) (define (run-mirror-pass) |