From 25f9c7eb55b6426f9e706c24047025d069e75e4c Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 17 Jan 2020 00:10:48 -0600 Subject: [PATCH] Actually do gc in garbage --- pixelfed/pixelfed-garbage | 5 ++++- pixelfed/pixelfed-startup | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pixelfed/pixelfed-garbage b/pixelfed/pixelfed-garbage index 2f2a762..7950e00 100755 --- a/pixelfed/pixelfed-garbage +++ b/pixelfed/pixelfed-garbage @@ -2,4 +2,7 @@ set -xe -pixelfed 'php artisan schedule:run' +pixelfed 'php artisan media:optimize' +pixelfed 'php artisan media:gc' +pixelfed 'php artisan horizon:snapshot' +pixelfed 'php artisan story:gc' diff --git a/pixelfed/pixelfed-startup b/pixelfed/pixelfed-startup index 5e4c54f..be5ad46 100755 --- a/pixelfed/pixelfed-startup +++ b/pixelfed/pixelfed-startup @@ -12,7 +12,6 @@ pixelfed 'php artisan horizon:install' pixelfed 'php artisan horizon:assets' pixelfed 'php artisan route:cache' pixelfed 'php artisan view:cache' -pixelfed 'php artisan media:optimize' pixelfed 'php artisan optimize' exec "$@"