Add memory_limit for schedule
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8d54c5b47c
commit
a134be5f5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue