vsilaev/tascalate-concurrent

Typo in DelayPolicy#withMinDelay

Closed this issue · 1 comments

There's a called method name typo in the winMinDelay(mindelay, timeUnit) method of the DelayPolicy interface:

    default DelayPolicy<T> withMinDelay(long minDelay, TimeUnit timeUnit) {
        return withMaxDelay(Timeouts.toDuration(minDelay, timeUnit));
    }

Apparently it should call withMinDelay(duration).

Confirmed, fix is just committed, will release a new version within 1-2 days