Skip to content

Commit cfe2feb

Browse files
authored
update comment Retryer.java (OpenFeign#1228)
1 parent 609709e commit cfe2feb

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
@@ -81,7 +81,7 @@ public void continueOrPropagate(RetryableException e) {
8181
* The interval increases exponentially with each attempt, at a rate of nextInterval *= 1.5
8282
* (where 1.5 is the backoff factor), to the maximum interval.
8383
*
84-
* @return time in nanoseconds from now until the next attempt.
84+
* @return time in milliseconds from now until the next attempt.
8585
*/
8686
long nextMaxInterval() {
8787
long interval = (long) (period * Math.pow(1.5, attempt - 1));

0 commit comments

Comments
 (0)