Skip to content

Commit

Permalink
support sofa registry kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
呈铭 committed Jan 26, 2024
1 parent de944ef commit 8bf0a84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public class KubernetesRegistry extends Registry {

private KubernetesRegistryProviderWatcher kubernetesRegistryProviderWatcher;

private ConcurrentMap<ProviderConfig, Pod> providerInstances = new ConcurrentHashMap<>();
private ConcurrentMap<ProviderConfig, Pod> providerInstances = new ConcurrentHashMap<>(64);

private ConcurrentMap<ConsumerConfig, SharedIndexInformer<Pod>> consumerListeners = new ConcurrentHashMap<>();
private ConcurrentMap<ConsumerConfig, SharedIndexInformer<Pod>> consumerListeners = new ConcurrentHashMap<>(64);

/**
* Instantiates a new kubernetes registry.
Expand Down

0 comments on commit 8bf0a84

Please sign in to comment.