This project is archived and is in readonly mode.
Changeset [6080b73b1cf6c9ff969b81751a1e5d26d7633a32] by Aliaksey Kandratsenka
October 4th, 2008 @ 04:48 PM
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] http://github.com/rails/rails/co...
Committed by Aliaksey Kandratsenka
- M actionpack/lib/action_controller/dispatcher.rb
- M actionpack/lib/action_controller/integration.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>