Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [6080b73b1cf6c9ff969b81751a1e5d26d7633a32] by Aliaksey Kandratsenka

Revision 6080b73b1cf6c9ff969b81751a1e5d26d7633a32, committed 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...

2 changed files

  • M actionpack/lib/action_controller/dispatcher.rb
  • M actionpack/lib/action_controller/integration.rb