File tree 1 file changed +5
-2
lines changed
java/client/src/main/java/glide/api/models/configuration 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
/**
10
10
* Represents the strategy used to determine how and when to reconnect, in case of connection
11
- * failures. The time between attempts grows exponentially, to the formula <code>rand(0 ... factor *
12
- * (exponentBase ^ N))</code>, where <code>N</code> is the number of failed attempts.
11
+ * failures. The time between attempts grows exponentially, following the formula <code>
12
+ * rand(0 ... factor *
13
+ * (exponentBase ^ N))</code>, where <code>N</code> is the number of failed attempts, and <code>
14
+ * rand(...)</code> applies a jitter of up to <code>jitterPercent</code>% to introduce randomness
15
+ * and reduce retry storms.
13
16
*
14
17
* <p>Once the maximum value is reached, that will remain the time between retry attempts until a
15
18
* reconnect attempt is successful. The client will attempt to reconnect indefinitely.
You can’t perform that action at this time.
0 commit comments