Skip to content

fix: server list duplicated in the cache #6

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

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

Edison-Wong
Copy link

When the code enters the retry logic, the number of retries = servers_list count * max_redirection * max_connection_attempts. When calculating the servers list in the try_hosts_slots method, the server list corresponding to each solt is actually stored, which will cause the same server to appear multiple times in the list, and the number of retries will become slots count * max_redirection * max_connection_attempts. This commit fixes this issue.

@CLAassistant
Copy link

CLAassistant commented Aug 21, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants