From 4b80104980028ae0a169f876864e34f2ad30b5fc Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 20 Apr 2023 23:19:55 +0200 Subject: [PATCH] Reduce media caching to 1 day --- cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cleanup.sh b/cleanup.sh index 239b3d4..413c8e3 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -6,10 +6,10 @@ echo "=> Cleanup" cd /app/code echo "==> media cache ..." -./bin/tootctl media remove --days=7 +./bin/tootctl media remove --days=1 echo "==> orphaned media ..." ./bin/tootctl media remove-orphans echo "==> preview cards.." -./bin/tootctl preview-cards remove --days=7 +./bin/tootctl preview-cards remove --days=1