Add more cache cleanup commands
This commit is contained in:
@@ -28,3 +28,9 @@ echo "==> prune profiles ..."
|
|||||||
|
|
||||||
echo "==> remove headers ..."
|
echo "==> remove headers ..."
|
||||||
./bin/tootctl media remove --remove-headers --days=${CACHE_RETENTION_DAYS}
|
./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}
|
||||||
|
|||||||
Reference in New Issue
Block a user