Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
leolinchen committed Sep 21, 2022
1 parent 8441f67 commit 07154b7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public class NamespaceBundleFactory {
private final AsyncLoadingCache<NamespaceName, NamespaceBundles> bundlesCache;

private final PulsarService pulsar;
private final MetadataCache<Policies> policiesCache;
private final Duration maxRetryDuration = Duration.ofSeconds(10);

public NamespaceBundleFactory(PulsarService pulsar, HashFunction hashFunc) {
Expand All @@ -84,7 +83,6 @@ public NamespaceBundleFactory(PulsarService pulsar, HashFunction hashFunc) {
pulsar.getLocalMetadataStore().registerListener(this::handleMetadataStoreNotification);

this.pulsar = pulsar;
this.policiesCache = pulsar.getConfigurationMetadataStore().getMetadataCache(Policies.class);
}

private CompletableFuture<NamespaceBundles> loadBundles(NamespaceName namespace, Executor executor) {
Expand Down

0 comments on commit 07154b7

Please sign in to comment.