diogob / postgres-websockets

PostgreSQL + Websockets
https://hackage.haskell.org/package/postgres-websockets
MIT License
355 stars 28 forks source link

Shutdown server if listener connection dies #57

Closed diogob closed 4 years ago

diogob commented 4 years ago

Should address #55 This PR will shutdown the while process instead of trying to recover from a connection error. Since the connection is stateful this might be the best approach in the long term, to let some supervisor respawn the service.