Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make gun open errors explicitly into temporary failures (#118)
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. Co-authored-by: Zurab Davitiani <zurab@launchdarkly.com>
- Loading branch information