Does reaper work with oracle-enhanced adapter (OCI) to reap out idle connections?

荒凉一梦 提交于 2019-12-13 06:25:20

问题


I am trying to play with connection pooling with activerecord in Ruby. I am using Oracle-enhanced adapter and setting the following properties in database.yml:

reaping_frequency: 30
dead_connection_timeout: 20

I don't see my idle connections getting reaped.

I am using Rails3. I think reaper is available in Rails4.


回答1:


As you say Reaper is only available in Rails 4. However, even with rails 4, oracle-enhanced adapter still does not work with reaper. There is an open ticket with oracle-enhanced adapter to add support for it for reaper.



来源:https://stackoverflow.com/questions/21490822/does-reaper-work-with-oracle-enhanced-adapter-oci-to-reap-out-idle-connections

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!