Closed
Description
Hey,
How can I check pg (client|connection) connection for reconnect to DB?
My work flow:
- create pg.Client (ok)
- client.query (ok)
- turn off internet connection (ok)
- client.query (wait indefinitely) (fail)
- turn on internet connection (ok)
- client.query (wait indefinitely) (fail)
All my handlers are silent (client.on('end'), client.connection.on('error'), client.connection.stream.on('end'), client.connection.stream.on('error'), ...)
Thx, Vitaly
Metadata
Metadata
Assignees
Labels
No labels