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