开启协程

This commit is contained in:
2025-11-05 17:00:36 +08:00
parent 1555d77ae9
commit 24def09ea4
3 changed files with 3 additions and 52 deletions

View File

@@ -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',