stanley-king 4 gadi atpakaļ
vecāks
revīzija
f8fd2c13ac
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      helper/refill/RefillBase.php

+ 4 - 3
helper/refill/RefillBase.php

@@ -120,9 +120,10 @@ class RefillBase
                         $mod_refill->edit($order_id, ['is_retrying' => 1]);
                         $tran->commit();
 
-                        if(defined('USE_COROUTINE') && USE_COROUTINE) {
-                            \Swoole\Coroutine::sleep(1);
-                        }
+//                        if(defined('USE_COROUTINE') && USE_COROUTINE) {
+//                            \Swoole\Coroutine::sleep(1);
+//                        }
+                        
                         util::push_add($params);
 
                         return true;