소스 검색

reset checkTimes

malacca 7 년 전
부모
커밋
2dacceeef7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Worker.php

+ 2 - 0
Worker.php

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