init
This commit is contained in:
+1
-7
@@ -22,7 +22,7 @@ global $argv;
|
||||
return [
|
||||
'webman' => [
|
||||
'handler' => Http::class,
|
||||
'listen' => 'http://0.0.0.0:8787',
|
||||
'listen' => 'http://'.Config::getInstance()->httpIP.":".Config::getInstance()->httpPort,
|
||||
// 'count' => cpu_count() * 4,
|
||||
'count' => 1,
|
||||
'user' => '',
|
||||
@@ -61,10 +61,4 @@ return [
|
||||
]
|
||||
]
|
||||
],
|
||||
'TcpServer' => [
|
||||
'handler' => app\process\TcpServer::class,
|
||||
'listen' => 'tcp://0.0.0.0:'. Config::getInstance()->tcpServerPort,
|
||||
'count' => Config::getInstance()->tcpServerProcessNum,
|
||||
'reusePort' => true,
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user