Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rescue ConnectionError in peer leadership check
Previously, only `Postgrex.Error` exceptions were rescued and other standard connection errors were ignored, crashing the Peer. Because leadership is checked immediately after the Peer initializes, any connection issues would trigger a crash loop that could bring down the rest of the supervision tree. Closes #1026
- Loading branch information