diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d8d1c0e..7fc1768 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -58,3 +58,20 @@ mybatis-plus: server: port: 8080 + +tio: + websocket: + server: + port: 9326 + heartbeat-timeout: 60000 + # 集群配置 默认关闭 + cluster: + enabled: false + # 集群是通过redis的Pub/Sub实现,所以需要配置Redis + redis: + ip: 127.0.0.1 + port: 6379 + all: true + group: true + ip: true + user: true