From f3363bb5f88e2cbf76aa6763581e75e81e2b6db5 Mon Sep 17 00:00:00 2001 From: wangxulei <727869402@qq.com> Date: Sat, 28 Dec 2024 13:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E6=B3=A8=E7=B2=89=E4=B8=9D=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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