Skip to content

Commit 1ffa9be

Browse files
authored
update comment Retryer.java (OpenFeign#1228)
1 parent 5a32b5c commit 1ffa9be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/feign/Retryer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void continueOrPropagate(RetryableException e) {
8383
* The interval increases exponentially with each attempt, at a rate of nextInterval *= 1.5
8484
* (where 1.5 is the backoff factor), to the maximum interval.
8585
*
86-
* @return time in nanoseconds from now until the next attempt.
86+
* @return time in milliseconds from now until the next attempt.
8787
*/
8888
long nextMaxInterval() {
8989
long interval = (long) (period * Math.pow(1.5, attempt - 1));

0 commit comments

Comments
 (0)