You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/08/11 04:13:01 UTC

[pulsar] branch master updated: [clean][broker] remove unused code(#17036)

This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 0cf2a7534cb  [clean][broker] remove unused code(#17036)
0cf2a7534cb is described below

commit 0cf2a7534cbcdffe7574af1ee3717fa3f7ed8ba4
Author: LinChen <15...@qq.com>
AuthorDate: Thu Aug 11 12:12:56 2022 +0800

     [clean][broker] remove unused code(#17036)
---
 pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
index 6e9a9442a6c..6d0e2a42f66 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
@@ -347,8 +347,6 @@ public class PulsarService implements AutoCloseable, ShutdownService {
         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);
     }