We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On line 55 of https://github.com/nkallen/querulous/blob/master/src/main/scala/com/twitter/querulous/database/ApachePoolingDatabase.scala, config.testWhileIdle is set to false. According to http://commons.apache.org/pool/apidocs/org/apache/commons/pool/impl/GenericObjectPool.html, this means that timeBetweenEvictionRunsMillis has no effect, the connections are never checked when idle, and the pool sometimes returns invalid connections.
Is there a reason to not let this be configurable (or at least default to true)?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On line 55 of https://github.com/nkallen/querulous/blob/master/src/main/scala/com/twitter/querulous/database/ApachePoolingDatabase.scala, config.testWhileIdle is set to false. According to http://commons.apache.org/pool/apidocs/org/apache/commons/pool/impl/GenericObjectPool.html, this means that timeBetweenEvictionRunsMillis has no effect, the connections are never checked when idle, and the pool sometimes returns invalid connections.
Is there a reason to not let this be configurable (or at least default to true)?
The text was updated successfully, but these errors were encountered: