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

reconn-rpc-client: parse URL before connecting #1789

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented Sep 27, 2024

It was hard to figure whether one simply entered a faulty URL and it tried to reconnect according to the retry policy.

With this change we first parse url and then try to reconnect. This will detect invalid URLs etc directly instead of waiting for the retry to complete.

It was hard to figure whether one simply entered a faulty URL
and it tried to reconnect according to the retry policy.

With this change we first parse url and then try to reconnect.
This will detect invalid directly instead of waiting for the retry
to complete.
@niklasad1 niklasad1 requested a review from a team as a code owner September 27, 2024 16:30
Copy link
Collaborator

@lexnv lexnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@niklasad1 niklasad1 merged commit 72db833 into master Sep 30, 2024
13 checks passed
@niklasad1 niklasad1 deleted the reconnecting-rpc-client-parse-url branch September 30, 2024 14:40
@jsdw jsdw mentioned this pull request Oct 24, 2024
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.

3 participants