vertx-sql-client icon indicating copy to clipboard operation
vertx-sql-client copied to clipboard

PgSubscriber reconnects when shutting down

Open zenios opened this issue 5 years ago • 1 comments

When vertx is shutting down which will eventually shutdown the pool PgSubscribers with reconnect policy are not aware of it and try to reconnect resulting to exceptions being thrown

zenios avatar Sep 17 '20 00:09 zenios

good point, likely PgSubscribers should not be called when vertx shutdown (likely using a close hooks). Note this seems valid for verticles undeploy

vietj avatar Sep 17 '20 09:09 vietj