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

Add ws resubscribe retries to chain service #1797

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Add ws resubscribe retries to chain service #1797

merged 2 commits into from
Oct 3, 2023

Conversation

bitwiseguy
Copy link
Contributor

Makes the chainservice more robust by adding a resubscribe retry loop whenever a websocket connection (either to chain events or new blocks) fails. Previously, the chainservice just had a single retry then cause a panic

@netlify
Copy link

netlify bot commented Sep 27, 2023

👷 Deploy Preview for nitrodocs processing.

Name Link
🔨 Latest commit 29e8602
🔍 Latest deploy log https://app.netlify.com/sites/nitrodocs/deploys/65143b40d5dbb50008f0e3d1

@bitwiseguy bitwiseguy linked an issue Sep 27, 2023 that may be closed by this pull request
@bitwiseguy bitwiseguy marked this pull request as ready for review September 27, 2023 15:17
@bitwiseguy bitwiseguy merged commit 99d8364 into main Oct 3, 2023
2 checks passed
@bitwiseguy bitwiseguy deleted the wss-retries branch October 3, 2023 23:58
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.

Add retries to chainservice's RPC provider reconnect logic
2 participants