Skip to content

Conversation

NumminorihSF
Copy link
Contributor

There is some bug with connection pool.
To reproduce it - you need connect to postgresql, start request and kill db process by kill -9. Client will not be free on any time.

To stop this, we can add heartbeat to net.Socket on pg.Client. To force backward capability heartbeat on default is 0. If heartbeat is 0, no heartbeat will be used.

I have tested it on my db, seems, that it works fine.

P.S. sorry for my English.

@marcbachmann
Copy link

👍 Would be nice if this lands in master soon

@NumminorihSF NumminorihSF mentioned this pull request Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants