Skip to content

Commit

Permalink
Revert "chore: garbage collect now, not in 3 days (#153)" (#154)
Browse files Browse the repository at this point in the history
This reverts commit c0fec69.
  • Loading branch information
emosbaugh authored Oct 8, 2024
1 parent c0fec69 commit 4582df6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions registry/garbage-collect.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/bin/sh

echo "Script started"

while true; do
sleep 72h # every 3 days
echo "Starting garbage collection..."
registry garbage-collect /etc/docker/registry/config.yml || true
echo "Garbage collection finished"
sleep 72h # every 3 days
done

0 comments on commit 4582df6

Please sign in to comment.