mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-21 15:20:59 +00:00
Add more cache cleanup commands
This commit is contained in:
parent
53ac4525b0
commit
064dd101f3
1 changed files with 6 additions and 0 deletions
|
@ -28,3 +28,9 @@ echo "==> prune profiles ..."
|
|||
|
||||
echo "==> remove headers ..."
|
||||
./bin/tootctl media remove --remove-headers --days=${CACHE_RETENTION_DAYS}
|
||||
|
||||
echo "==> clear cache ..."
|
||||
/app/code/bin/tootctl cache clear
|
||||
|
||||
echo "==> remove unreferenced statuses ..."
|
||||
/app/code/bin/tootctl statuses remove --days=${CACHE_RETENTION_DAYS}
|
||||
|
|
Loading…
Reference in a new issue