stanley-king 3 лет назад
Родитель
Сommit
c82652385c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      helper/queue/iqueue.php

+ 1 - 1
helper/queue/iqueue.php

@@ -356,7 +356,7 @@ abstract class ILooper
                         {
                             $content = $this->mServer->rpop();
                             if(empty($content)) {
-                                Swoole\Coroutine::sleep(1);
+                                Swoole\Coroutine::sleep(0.1);
                                 continue;
                             }
                         }