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: Make gun open errors explicitly into temporary failures #118

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

zurab-darkly
Copy link
Contributor

Updates gun_open_* failures during stream initialization to translate to temporary failures, as expected by the calling function.

I think these errors were always meant to be explicitly temporary. Otherwise, if these are currently returned the calling try block wouldn't pattern match and I believe it would crash the process. At that point we'd be relying on the supervisor restarts instead of managed backoff.

@zurab-darkly zurab-darkly requested a review from a team January 4, 2024 02:02
@kinyoklion kinyoklion changed the title Make gun open errors explicitly into temporary failures fix: Make gun open errors explicitly into temporary failures Jan 4, 2024
@kinyoklion kinyoklion merged commit fc70445 into main Jan 4, 2024
5 of 6 checks passed
@kinyoklion kinyoklion deleted the zurab/fix-connection-error-atoms branch January 4, 2024 17:10
kinyoklion pushed a commit that referenced this pull request Jan 4, 2024
🤖 I have created a release *beep* *boop*
---


##
[3.1.0](v3.0.4...v3.1.0)
(2024-01-04)


### Features

* For otp 25+ use public_key:cacerts_get for the default certificate
list.
([#114](#114))
([b7065aa](b7065aa))


### Bug Fixes

* Make gun open errors explicitly into temporary failures
([#118](#118))
([fc70445](fc70445))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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