update: check order php env memory limit

This commit is contained in:
tokumeikoi
2021-07-01 12:41:34 +09:00
parent 078dfbf339
commit 6509091e4f
3 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,7 @@ class CheckOrder extends Command
*/
public function handle()
{
ini_set('memory_limit', -1);
$orders = Order::whereIn('status', [0, 1])
->get();
foreach ($orders as $item) {