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

only emit connection error messages during xread calls if the connect… #59

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

k-rister
Copy link
Contributor

…ion is supposed to be open

  • this prevents the messages from being printed when a timeout occurs, which causes the connection to be closed and any pending xread calls to fail (when this happened users were confused into thinking that something has broken with roadblock instead of realizing it was a timeout issue)

…ion is supposed to be open

- this prevents the messages from being printed when a timeout occurs,
  which causes the connection to be closed and any pending xread calls
  to fail (when this happened users were confused into thinking that
  something has broken with roadblock instead of realizing it was a
  timeout issue)
@k-rister k-rister requested a review from a team January 15, 2024 18:03
@k-rister k-rister self-assigned this Jan 15, 2024
- this allows other parts of the code (which may be running in
  parallel) to see this as soon as possible
- if the xread fails we want an empty array, not the previous arrays
  contents
@k-rister k-rister merged commit d1f346d into master Jan 15, 2024
147 checks passed
@k-rister k-rister deleted the dev-kmr branch January 15, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants