Skip to content

fix: don't throw while retrying#96

Closed
anthonybachour wants to merge 1 commit intotypesense:masterfrom
anthonybachour:dont-throw-on-node-retry
Closed

fix: don't throw while retrying#96
anthonybachour wants to merge 1 commit intotypesense:masterfrom
anthonybachour:dont-throw-on-node-retry

Conversation

@anthonybachour
Copy link
Copy Markdown
Contributor

Change Summary

When using multiple nodes if one of the nodes is not reachable we currently throw an error without retrying.

This PR will save the last error and throw once all retries are exhausted.

PR Checklist

Copy link
Copy Markdown
Collaborator

@tharropoulos tharropoulos left a comment

Choose a reason for hiding this comment

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

lgtm

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