Browse Source

Update Worker.php

walkor 2 years ago
parent
commit
f4dc20104b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Worker.php

+ 1 - 1
src/Worker.php

@@ -546,8 +546,8 @@ class Worker
     {
         static::checkSapiEnv();
         static::init();
-        static::lock();
         static::parseCommand();
+        static::lock();
         static::daemonize();
         static::initWorkers();
         static::installSignal();