Skip to content

Commit

Permalink
[clean][broker] remove unused code(apache#17036)
Browse files Browse the repository at this point in the history
  • Loading branch information
lordcheng10 authored Aug 11, 2022
1 parent 2bc933e commit 0cf2a75
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@ public PulsarService(ServiceConfiguration config,
this.brokerClientSharedTimer =
new HashedWheelTimer(new DefaultThreadFactory("broker-client-shared-timer"), 1, TimeUnit.MILLISECONDS);

int interval = config.getManagedLedgerStatsPeriodSeconds();
boolean exposeTopicMetrics = config.isExposeTopicLevelMetricsInPrometheus();
// here in the constructor we don't have the offloader scheduler yet
this.offloaderStats = LedgerOffloaderStats.create(false, false, null, 0);
}
Expand Down

0 comments on commit 0cf2a75

Please sign in to comment.