From 24ca8c6551214648f8da5a8c58dcab205322a52d Mon Sep 17 00:00:00 2001 From: imalamala Date: Wed, 14 Jun 2023 23:17:53 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E8=87=B4=E6=80=A7ha?= =?UTF-8?q?sh=E8=99=9A=E6=8B=9F=E8=8A=82=E7=82=B9=E4=B8=AA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: imalamala --- .../core/algorithm/consistenthash/ConsistentHashHandle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/im-commom/im-common-core/src/main/java/io/xiaochangbai/muchat/common/core/algorithm/consistenthash/ConsistentHashHandle.java b/im-commom/im-common-core/src/main/java/io/xiaochangbai/muchat/common/core/algorithm/consistenthash/ConsistentHashHandle.java index 76a2a5d..25a4a85 100644 --- a/im-commom/im-common-core/src/main/java/io/xiaochangbai/muchat/common/core/algorithm/consistenthash/ConsistentHashHandle.java +++ b/im-commom/im-common-core/src/main/java/io/xiaochangbai/muchat/common/core/algorithm/consistenthash/ConsistentHashHandle.java @@ -10,7 +10,7 @@ public class ConsistentHashHandle implements RouteHandle { @Override public String routeServer(List values, String key) { - AbstractConsistentHash hash = new TreeMapConsistentHash(200); + AbstractConsistentHash hash = new TreeMapConsistentHash(100); return hash.process(values, key); } } -- Gitee