Browse Source

Update worker

twomiao 2 years ago
parent
commit
74e8dfb764
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Worker.php

+ 1 - 1
src/Worker.php

@@ -629,7 +629,7 @@ class Worker
         static::$status = static::STATUS_STARTING;
 
         // Avoiding incorrect user calls.
-        // static::resetGlobalEvent();
+        static::resetGlobalEvent();
 
         // For statistics.
         static::$globalStatistics['start_timestamp'] = time();