Skip to content

Commit 9a235d1

Browse files
committed
feat: Change HashMap to ConcurrentMap
1 parent 6cfd3c3 commit 9a235d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trpc-core/src/main/java/com/tencent/trpc/core/common/config/ClientConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public class ClientConfig extends BaseProtocolConfig {
7575
/**
7676
* BackendConfig mapping.
7777
*/
78-
protected Map<String, BackendConfig> backendConfigMap = Maps.newHashMap();
78+
protected Map<String, BackendConfig> backendConfigMap = Maps.newConcurrentMap();
7979

8080
/**
8181
* Whether the service is registered.

0 commit comments

Comments
 (0)