sijie commented on a change in pull request #3848: [Issue-2122] [pulsar-client] 
Adding configuration for backoff strategy
URL: https://github.com/apache/pulsar/pull/3848#discussion_r269411465
 
 

 ##########
 File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/Backoff.java
 ##########
 @@ -25,8 +25,10 @@
 
 // All variables are in TimeUnit millis by default
 public class Backoff {
-    private static final long DEFAULT_INTERVAL_IN_NANOSECONDS = 
TimeUnit.MILLISECONDS.toNanos(100);
-    private static final long MAX_BACKOFF_INTERVAL_NANOSECONDS = 
TimeUnit.SECONDS.toNanos(30);
+       public static final long DEFAULT_INTERVAL_IN_NANOSECONDS = 
TimeUnit.MILLISECONDS.toNanos(100);
 
 Review comment:
   @ConcurrencyPractitioner can you please use `spaces` rather than using 
`tabs`?

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


With regards,
Apache Git Services

Reply via email to