开启协程 test
This commit is contained in:
parent
24def09ea4
commit
cc2eabe050
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ return [
|
|||
'group' => '',
|
||||
'reusePort' => false,
|
||||
// 'eventLoop' => '',
|
||||
'eventLoop' => \Workerman\Events\Swoole::class,
|
||||
'eventLoop' => \Workerman\Events\Swoole1::class,
|
||||
'context' => [],
|
||||
'constructor' => [
|
||||
'requestClass' => Request::class,
|
||||
|
|
|
|||
Loading…
Reference in New Issue