aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_pack
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2008-10-02 22:59:03 +0300
committerMichael Koziarski <michael@koziarski.com>2008-10-04 17:48:13 +0200
commit6080b73b1cf6c9ff969b81751a1e5d26d7633a32 (patch)
tree20ce3433da390db10f9dacb6ea2d63a1c5d4d4a9 /actionpack/lib/action_pack
parent834361145a805b5077f962dc2e67a0a9ea882535 (diff)
downloadrails-6080b73b1cf6c9ff969b81751a1e5d26d7633a32.tar.gz
rails-6080b73b1cf6c9ff969b81751a1e5d26d7633a32.tar.bz2
rails-6080b73b1cf6c9ff969b81751a1e5d26d7633a32.zip
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: Michael Koziarski <michael@koziarski.com> [#1171 state:committed]
Diffstat (limited to 'actionpack/lib/action_pack')
0 files changed, 0 insertions, 0 deletions