sqlx/sqlx-postgres
Peter Hamilton ab0d10d935
Make PgListener recover from UnexpectedEof (#2684)
This is often encountered when the host the db is on is restarted.
For example, a reboot of AWS Aurora causes this. If we don't handle this
properly the PgListeners are stuck in an erroring state, even when the DB
is back online. By catching it here, we will reconnect when it is
(eventually) back online.
2023-10-17 16:10:53 -07:00
..