mojolicious / mojo-pg

Mojolicious :heart: PostgreSQL
https://metacpan.org/release/Mojo-Pg
Artistic License 2.0
101 stars 46 forks source link

Listen/unlisten during reconnect does not work #60

Closed kraih closed 4 years ago

kraih commented 4 years ago

A test case can be found in #57. Opening this so we don't forget the bug. The fix shouldn't be too hard, just don't interact with the database handle while the reconnect is in progress and let the reconnect logic take care of everything.