From 5298124d1878693f13688e0db509434448e5da88 Mon Sep 17 00:00:00 2001 From: aha <2879499479@qq.com> Date: Wed, 14 Jun 2023 23:23:20 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: aha <2879499479@qq.com> --- .../muchat/connector/listener/NodeRegisterListener.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/im-connector/src/main/java/io/xiaochangbai/muchat/connector/listener/NodeRegisterListener.java b/im-connector/src/main/java/io/xiaochangbai/muchat/connector/listener/NodeRegisterListener.java index 62dad54..3f3e0e2 100644 --- a/im-connector/src/main/java/io/xiaochangbai/muchat/connector/listener/NodeRegisterListener.java +++ b/im-connector/src/main/java/io/xiaochangbai/muchat/connector/listener/NodeRegisterListener.java @@ -78,8 +78,6 @@ public class NodeRegisterListener { client.delete().forPath(nodePath); } client.create().withMode(CreateMode.EPHEMERAL).forPath(nodePath); - log.info("zk注册完毕,nodePath:{}",nodePath); - Runtime.getRuntime().addShutdownHook(new Thread(()->{ try { client.delete().forPath(nodePath); -- Gitee