From a4c86b6b9d61bec99bff97415ac25e1fd36fe28a Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期日, 09 四月 2023 19:17:56 +0800 Subject: [PATCH] 优化 --- zuul/src/main/java/com/sinata/zuul/util/echo/NettyChannelMap.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/zuul/src/main/java/com/sinata/zuul/util/echo/NettyChannelMap.java b/zuul/src/main/java/com/sinata/zuul/util/echo/NettyChannelMap.java index b27fd8f..db90e58 100644 --- a/zuul/src/main/java/com/sinata/zuul/util/echo/NettyChannelMap.java +++ b/zuul/src/main/java/com/sinata/zuul/util/echo/NettyChannelMap.java @@ -104,6 +104,11 @@ } } + + public static synchronized void remove_(String key) { + ctxMap.remove(key); + } + /** * Remove the data resources. -- Gitblit v1.7.1