Skip to content
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

Fix reconnection backoff logic #1008

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

wolfstudy
Copy link
Member

Motivation

Currently, qhen the backoff policy calculates the time after the user specifies MaxRetry, the initial time of each calculation is 100ms, and there is no way to achieve the purpose of backoff retry.

This is because the delay time is set as an internal local variable, causing each for loop to get a new value

Signed-off-by: xiaolongran <xiaolongran@tencent.com>
@wolfstudy wolfstudy self-assigned this Apr 11, 2023
@BewareMyPower BewareMyPower merged commit 2154d70 into apache:master Apr 14, 2023
@RobertIndie RobertIndie added this to the v0.11.0 milestone Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants