Skip to content

feat(retry-on-timeout): Implement retry on timeout when creating new client #3491

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

Closed
wants to merge 4 commits into from

Conversation

MathieuGuillet
Copy link

@MathieuGuillet MathieuGuillet commented Jun 17, 2025

Add new options and instructions to implement retries on timeout when the pool tries to create new client in the pool.

This will avoid to throw an error on the first timeout error if it can be recover in a given time.

Add new options and instructions to implement retry on timeout when the pool tries to create new client in the pool.
This will avoid to throw an error on the first timeout error if it can be recover in a given time.
@MathieuGuillet MathieuGuillet changed the title Implement retry on timeout when creating new client feat(retry-on-timeout): Implement retry on timeout when creating new client Jun 17, 2025
@charmander
Copy link
Collaborator

charmander commented Jun 17, 2025

I think library users should be able to achieve this by calling the relevant pool function repeatedly as long as it returns a specific type of error (which might be different types of errors according to different needs). You can write a module for that.

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.

2 participants