From a134be5f5b62e955916ad5d33ab69d2fca1418a9 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Mon, 21 Aug 2023 14:15:29 +0200 Subject: [PATCH] Add memory_limit for schedule --- .docker/php/entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/php/entrypoint b/.docker/php/entrypoint index 9fcc3060..de04308d 100755 --- a/.docker/php/entrypoint +++ b/.docker/php/entrypoint @@ -36,7 +36,7 @@ fi if [ $1 == "schedule" ]; then wait_for_db while true; do - su www-data -c 'php artisan schedule:run -n' + su www-data -c 'php -d memory_limit=2G artisan schedule:run -n' sleep 60 done fi