malacca 7 anni fa
parent
commit
2dacceeef7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      Worker.php

+ 2 - 0
Worker.php

@@ -1487,6 +1487,8 @@ class Worker
                         }
                         if ($allExited) {
                             static::exitAndClearAll();
+                        } else {
+                            $checkTimes = 0;
                         }
                     }
                     $checkTimes++;