diff --git a/core/src/main/java/feign/Retryer.java b/core/src/main/java/feign/Retryer.java index a308be99..6b3b9b75 100644 --- a/core/src/main/java/feign/Retryer.java +++ b/core/src/main/java/feign/Retryer.java @@ -83,7 +83,7 @@ public interface Retryer extends Cloneable { * The interval increases exponentially with each attempt, at a rate of nextInterval *= 1.5 * (where 1.5 is the backoff factor), to the maximum interval. * - * @return time in nanoseconds from now until the next attempt. + * @return time in milliseconds from now until the next attempt. */ long nextMaxInterval() { long interval = (long) (period * Math.pow(1.5, attempt - 1));