diff options
author | Aliaksey Kandratsenka <alk@tut.by> | 2008-10-02 22:59:03 +0300 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-10-04 17:48:13 +0200 |
commit | 6080b73b1cf6c9ff969b81751a1e5d26d7633a32 (patch) | |
tree | 20ce3433da390db10f9dacb6ea2d63a1c5d4d4a9 /release.rb | |
parent | 834361145a805b5077f962dc2e67a0a9ea882535 (diff) | |
download | rails-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 'release.rb')
0 files changed, 0 insertions, 0 deletions