mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-05-31 23:48:07 +00:00
Reduce media caching to 1 day
This commit is contained in:
parent
549c36e136
commit
4b80104980
|
@ -6,10 +6,10 @@ echo "=> Cleanup"
|
||||||
cd /app/code
|
cd /app/code
|
||||||
|
|
||||||
echo "==> media cache ..."
|
echo "==> media cache ..."
|
||||||
./bin/tootctl media remove --days=7
|
./bin/tootctl media remove --days=1
|
||||||
|
|
||||||
echo "==> orphaned media ..."
|
echo "==> orphaned media ..."
|
||||||
./bin/tootctl media remove-orphans
|
./bin/tootctl media remove-orphans
|
||||||
|
|
||||||
echo "==> preview cards.."
|
echo "==> preview cards.."
|
||||||
./bin/tootctl preview-cards remove --days=7
|
./bin/tootctl preview-cards remove --days=1
|
||||||
|
|
Loading…
Reference in a new issue