call clear_active_connections! in :after_dispatch to give pooled connections back
This fixes connection pool exhaustion for web servers which create new thread per connection (e.g. Webrick).
integration.rb changes are required to keep test transaction active for several requests.
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
[#1171 state:committed]
Showing
想要评论请 注册 或 登录