Add more cache cleanup commands

This commit is contained in:
Johannes Zellner 2023-05-13 13:33:03 +02:00
parent 53ac4525b0
commit 064dd101f3

View file

@ -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}