walkor 2 жил өмнө
parent
commit
f4dc20104b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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();