You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/07 14:06:19 UTC
[GitHub] [pulsar] Technoboy- commented on a change in pull request #11584: [ManagedLedger] Make 'StatsPeroidSeconds' configurable
Technoboy- commented on a change in pull request #11584:
URL: https://github.com/apache/pulsar/pull/11584#discussion_r684637076
##########
File path: managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerFactoryImpl.java
##########
@@ -177,7 +175,7 @@ private ManagedLedgerFactoryImpl(MetadataStore metadataStore,
this.mbean = new ManagedLedgerFactoryMBeanImpl(this);
this.entryCacheManager = new EntryCacheManager(this);
this.statsTask = scheduledExecutor.scheduleAtFixedRate(this::refreshStats,
- 0, StatsPeriodSeconds, TimeUnit.SECONDS);
+ config.getStatsPeriodSeconds(), config.getStatsPeriodSeconds(), TimeUnit.SECONDS);
Review comment:
Ok, I will change back to the previous one.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org