diff --git a/naming/src/main/java/com/alibaba/nacos/naming/misc/ServiceStatusSynchronizer.java b/naming/src/main/java/com/alibaba/nacos/naming/misc/ServiceStatusSynchronizer.java index 5d40e011c..323ad3a6e 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/misc/ServiceStatusSynchronizer.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/misc/ServiceStatusSynchronizer.java @@ -73,7 +73,7 @@ public class ServiceStatusSynchronizer implements Synchronizer { return null; } - Map params = new HashMap<>(10); + Map params = new HashMap<>(1); params.put("key", key);