This commit is contained in:
zimoyin
2026-04-02 17:42:00 +08:00
parent ac95dbb1c8
commit 4c841b9dbf
963 changed files with 347242 additions and 354 deletions
+1 -7
View File
@@ -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,
],
];