Apache9 commented on a change in pull request #3601:
URL: https://github.com/apache/hbase/pull/3601#discussion_r694536476



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegistryEndpointsRefresher.java
##########
@@ -60,9 +63,20 @@ public synchronized void stop() {
     notifyAll();
   }
 
+  private long getRefreshIntervalMs(boolean firstRefresh) {
+    if (refreshNow) {
+      return minTimeBetweenRefreshesMs;
+    }
+    if (firstRefresh) {
+      return initialDelayMs;

Review comment:
       I think a new config option is needed, but the default value could be 
periodicRefreshMs/4 or /5, if users explicitly set it, we will use the value 
set by users. WDYT?




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to