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
|
if [ $1 == "schedule" ]; then
|
||||||
wait_for_db
|
wait_for_db
|
||||||
while true; do
|
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
|
sleep 60
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue