epgsql
epgsql copied to clipboard
Timeout in state 'timeout'
Sometimes, when database is slow and number of requests is big psql_connection is crushing because of message 'timeout' got in state 'timeout'. Is it a valid behaviour? I am using poolboy to store connections in gen_server and pgaql timeout is lesser than gen_servers timeout.
If you are using poolboy before 1.5.1 there is a bug which always times out when the pool is already fully used, you should look there first.