提交
This commit is contained in:
parent
94318dbde5
commit
7d43970e44
@ -17,7 +17,7 @@ use think\swoole\websocket\socketio\Parser;
|
|||||||
return [
|
return [
|
||||||
'server' => [
|
'server' => [
|
||||||
'host' => env('SWOOLE_HOST', '0.0.0.0'), // 监听地址
|
'host' => env('SWOOLE_HOST', '0.0.0.0'), // 监听地址
|
||||||
'port' => env('SWOOLE_PORT', 8325), // 监听端口
|
'port' => env('SWOOLE_PORT', 8324), // 监听端口
|
||||||
'mode' => SWOOLE_PROCESS, // 运行模式 默认为SWOOLE_PROCESS
|
'mode' => SWOOLE_PROCESS, // 运行模式 默认为SWOOLE_PROCESS
|
||||||
'sock_type' => SWOOLE_SOCK_TCP, // sock type 默认为SWOOLE_SOCK_TCP
|
'sock_type' => SWOOLE_SOCK_TCP, // sock type 默认为SWOOLE_SOCK_TCP
|
||||||
'options' => [
|
'options' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user