-
Notifications
You must be signed in to change notification settings - Fork 992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javadoc mentions Delay.exponential() is capped at 30 milliseconds #799
Comments
Thanks for filing an issue. I think there are two things here:
results in an output of:
Out of curiosity, how did you come across this issue? |
Ah yeah, you're right. Only the milliseconds in the Javadocs are wrong. I tried to find the cause for a problem where the Logger for But if the exponential delay is indeed working correct, then the cause must be something else. This is an example of that:
|
The log message you're seeing originates from calling |
That's fixed now. Closing this ticket. Feel free to file a new issue if you run into problems. |
Hi,
the documentation says in https://github.com/lettuce-io/lettuce-core/wiki/Configuring-Client-resources on reconnect delay that the upper limit is by default 30 seconds. If i take a look at the implementation in Lettuce 4.4.4, (com.lambdaworks.redis.resource.Delay#exponential(), which is used by default), the upperbound is 30 milliseconds, not seconds.
The text was updated successfully, but these errors were encountered: