We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d7d301 commit e2ec11aCopy full SHA for e2ec11a
src/config/plugin/webman/gateway-worker/process.php
@@ -9,7 +9,7 @@
9
'handler' => Gateway::class,
10
'listen' => 'websocket://0.0.0.0:7272',
11
'count' => cpu_count(),
12
- 'constructor' => [[
+ 'constructor' => ['config' => [
13
'lanIp' => '127.0.0.1',
14
'startPort' => 2300,
15
'pingInterval' => 25,
@@ -21,7 +21,7 @@
21
'worker' => [
22
'handler' => BusinessWorker::class,
23
'count' => cpu_count()*2,
24
25
'eventHandler' => plugin\webman\gateway\Events::class,
26
'name' => 'ChatBusinessWorker',
27
'registerAddress' => '127.0.0.1:1236',
@@ -33,4 +33,4 @@
33
'count' => 1, // Must be 1
34
'constructor' => []
35
],
36
-];
+];
0 commit comments