xxxrrrdddd 3 years ago
parent
commit
1fa3a5d84c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      work

+ 1 - 1
work

@@ -28,4 +28,4 @@ $work->onWorkerStart=function ($conn){
 $work->onWorkerStop=function (\Workerman\Worker $work){
     var_dump('close');
 };
-\Workerman\Worker::runAll();
+$work->run();