We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4885cc1 commit d906db3Copy full SHA for d906db3
bifromq-inbox/bifromq-inbox-server/src/main/java/com/baidu/bifromq/inbox/server/InboxFetcherRegistry.java
@@ -32,7 +32,7 @@ public final class InboxFetcherRegistry implements IInboxFetcherRegistry {
32
public void reg(IInboxFetcher fetcher) {
33
fetchers.compute(fetcher.tenantId(), (key, val) -> {
34
if (val == null) {
35
- val = new HashMap<>();
+ val = new ConcurrentHashMap<>();
36
}
37
IInboxFetcher prevFetcher = val.computeIfAbsent(fetcher.delivererKey(), k -> new ConcurrentHashMap<>())
38
.put(fetcher.id(), fetcher);
0 commit comments