xxxrrrdddd 3 years ago
parent
commit
ced02c25c0
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');
 };
-$work->run();
+\Workerman\Worker::runAll();