shish 3 years ago
parent
commit
6c544040f1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      console/controllers/GhsOrderController.php

+ 4 - 0
console/controllers/GhsOrderController.php

@@ -12,6 +12,10 @@ class GhsOrderController extends Controller
 
     public function actionBcId()
     {
+
+        ini_set('memory_limit', '2045M');
+        set_time_limit(0);
+
         $list = OrderClass::getAllByCondition(['mainId' => 0], null, '*', null, true);
         if (!empty($list)) {
             foreach ($list as $order) {