You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/05/15 05:46:22 UTC
[GitHub] [incubator-pinot] jackjlli commented on a change in pull request
#4096: Add integration test for BrokerResourceValidationManager
jackjlli commented on a change in pull request #4096: Add integration test for BrokerResourceValidationManager
URL: https://github.com/apache/incubator-pinot/pull/4096#discussion_r284094237
##########
File path: pinot-controller/src/main/java/org/apache/pinot/controller/ControllerConf.java
##########
@@ -453,6 +455,19 @@ public void setBrokerResourceValidationFrequencyInSeconds(int validationFrequenc
Integer.toString(validationFrequencyInSeconds));
}
+ public long getBrokerResourceValidationInitialDelayInSeconds() {
+ if (containsKey(ControllerPeriodicTasksConf.BROKER_RESOURCE_VALIDATION_INITIAL_DELAY_IN_SECONDS)) {
+ return Integer.parseInt(
+ (String) getProperty(ControllerPeriodicTasksConf.BROKER_RESOURCE_VALIDATION_INITIAL_DELAY_IN_SECONDS));
+ }
+ return getPeriodicTaskInitialDelayInSeconds();
+ }
+
+ public void setBrokerResourceValidationInitialDelayInSeconds(long validationInitialDelayInSeconds) {
+ setProperty(ControllerPeriodicTasksConf.BROKER_RESOURCE_VALIDATION_INITIAL_DELAY_IN_SECONDS,
+ Long.toString(validationInitialDelayInSeconds));
Review comment:
Updated.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org