-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
Description
Hello! Thanks for an awesome project!
Problem
If my Postgres restarts postgres-websockets service stops receiving events and logs "Broadcaster is dead". There are no connection retry attempts as far as I can see. Websocket connection can still be established, but the client does not receive any events accordingly.
Logs
2020-05-27 23:57:28.064 MSK postgres-websockets 0.6.0.0 / Connects websockets to PostgreSQL asynchronous notifications.
2020-05-27 23:57:28.068 MSK Listening on port 9509
2020-05-27 23:57:53.906 MSK ConnectionClosed
2020-05-27 23:58:52.427 MSK CloseRequest 1000
2020-05-27 23:59:54.351 MSK FATAL: terminating connection due to administrator command
2020-05-27 23:59:54.351 MSK Broadcaster is dead
2020-05-28 00:11:29.789 MSK CloseRequest 1001
2020-05-28 00:11:37.310 MSK CloseRequest 1001
Expectations
I would expect postgres-websockets service to retry to Postgres after the connection is lost. Is there such a possibility? Is it configurable?