We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 609709e commit cfe2febCopy full SHA for cfe2feb
1 file changed
core/src/main/java/feign/Retryer.java
@@ -81,7 +81,7 @@ public void continueOrPropagate(RetryableException e) {
81
* The interval increases exponentially with each attempt, at a rate of nextInterval *= 1.5
82
* (where 1.5 is the backoff factor), to the maximum interval.
83
*
84
- * @return time in nanoseconds from now until the next attempt.
+ * @return time in milliseconds from now until the next attempt.
85
*/
86
long nextMaxInterval() {
87
long interval = (long) (period * Math.pow(1.5, attempt - 1));
0 commit comments