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 2022/02/11 21:27:29 UTC

[GitHub] [pulsar] michaeljmarshall commented on a change in pull request #12520: [pulsar-client] Add conf backoff values

michaeljmarshall commented on a change in pull request #12520:
URL: https://github.com/apache/pulsar/pull/12520#discussion_r805015907



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java
##########
@@ -884,9 +884,9 @@ public void reloadLookUp() throws PulsarClientException {
             TopicName topicName = TopicName.get(topic);
             AtomicLong opTimeoutMs = new AtomicLong(conf.getLookupTimeoutMs());
             Backoff backoff = new BackoffBuilder()
-                    .setInitialTime(100, TimeUnit.MILLISECONDS)
+                    .setInitialTime(conf.getInitialBackoffIntervalNanos, TimeUnit.NANOSECONDS)

Review comment:
       @codelipenghui - thanks for clarifying. I'm not exactly sure how to add that test, but I think we could probably merge this as is.




-- 
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