开启协程
This commit is contained in:
@@ -22,6 +22,7 @@ return [
|
||||
'worker' => [
|
||||
'handler' => BusinessWorker::class,
|
||||
'count' => cpu_count()*2,
|
||||
'eventLoop' => \Workerman\Events\Swoole::class,
|
||||
'constructor' => ['config' => [
|
||||
'eventHandler' => plugin\webman\gateway\Events::class,
|
||||
'name' => 'ChatBusinessWorker',
|
||||
|
||||
Reference in New Issue
Block a user