aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-09-11 15:42:48 +0100
committerChristopher Baines <mail@cbaines.net>2023-09-12 13:11:00 +0100
commit94888457b2d22782f2dbb3d406cc76d37c1bc170 (patch)
treece5c5e1c233ef970c712958a41f00b2b8825d52c /scripts
parent4cd601a887d4a2c21d929c02d87d33b9bedcf9f1 (diff)
downloadnar-herder-94888457b2d22782f2dbb3d406cc76d37c1bc170.tar
nar-herder-94888457b2d22782f2dbb3d406cc76d37c1bc170.tar.gz
Remove get-nar-files
As it doesn't scale well.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index e55fb9b..5222864 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -397,10 +397,6 @@
(if (assq-ref opts 'storage)
(begin
- ;; Removing the files here isn't ideal, since the servers
- ;; metrics won't be updated until the next get-nar-files call,
- ;; but it avoids extra complexity in trying to have the server
- ;; delete the files.
(remove-nar-files-by-hash
database
(assq-ref opts 'storage)