pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] sijie commented on a change in pull request #3848: [Issue-2122] [pulsar-client] Adding configuration for backoff strategy
Date Wed, 27 Mar 2019 05:41:32 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message