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

connection_manager: retry and backoff on reconnect #804

Merged
merged 5 commits into from
May 31, 2023

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented Mar 16, 2023

This change allows the connection manager to make multiple attempts to reconnect to the server, in case the server is temporarily unavailable during the first reconnect attempt.

@nihohit nihohit force-pushed the conenction-manager-backoff branch 2 times, most recently from 6e8c9af to 328bd76 Compare March 16, 2023 16:34
@nihohit nihohit force-pushed the conenction-manager-backoff branch 3 times, most recently from 3668eab to 7641dc3 Compare May 3, 2023 13:18
redis/src/aio.rs Outdated Show resolved Hide resolved
redis/tests/support/mod.rs Outdated Show resolved Hide resolved
This change allows the connection manager to make multiple attempts to
reconnect to the server, in case the server is temporarily unavailable
during the first reconnect attempt.
rustls returns UnexpectedEof when the server is dropped mid-operation.
@nihohit nihohit force-pushed the conenction-manager-backoff branch from 7641dc3 to 224b90a Compare May 24, 2023 11:01
@nihohit
Copy link
Contributor Author

nihohit commented May 28, 2023

@jaymell fixed comments and rebased.

redis/tests/test_async.rs Outdated Show resolved Hide resolved
@jaymell jaymell merged commit 3cacd8b into redis-rs:main May 31, 2023
8 of 9 checks passed
@nihohit nihohit deleted the conenction-manager-backoff branch June 1, 2023 04:29
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