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

fix(constraints-api): eof error handling logic #4

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

thedevbirb
Copy link
Contributor

@thedevbirb thedevbirb commented Nov 5, 2024

Closes #3

It is addressed by making a double loop when subscribing to a relay:

  • the outer loop tries to subscribes in a durable way, with an attempt every 10 second for max 10 minutes
  • the inner loop fetches incoming constraints messages and handles EOF correctly.

@thedevbirb thedevbirb merged commit 34b110f into chainbound:main Nov 5, 2024
0 of 2 checks passed
@thedevbirb thedevbirb deleted the lore/fix/eof-error branch November 5, 2024 14:05
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.

Fix: unexpected EOF error
2 participants