开启协程 test

This commit is contained in:
ASUS 2025-11-05 17:04:30 +08:00
parent 24def09ea4
commit cc2eabe050
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ return [
'worker' => [
'handler' => BusinessWorker::class,
'count' => cpu_count()*2,
'eventLoop' => \Workerman\Events\Swoole::class,
'eventLoop' => \Workerman\Events\Swoole1::class,
'constructor' => ['config' => [
'eventHandler' => plugin\webman\gateway\Events::class,
'name' => 'ChatBusinessWorker',

View File

@ -28,7 +28,7 @@ return [
'group' => '',
'reusePort' => false,
// 'eventLoop' => '',
'eventLoop' => \Workerman\Events\Swoole::class,
'eventLoop' => \Workerman\Events\Swoole1::class,
'context' => [],
'constructor' => [
'requestClass' => Request::class,