This project is archived and is in readonly mode.
[PATCH] call clear_active_connections! in :after_dispatch to give pooled connections back
-
Repository
- State changed from new to committed
- Tag changed from activerecord, patch to actionpack, activerecord, patch
(from [6080b73b1cf6c9ff969b81751a1e5d26d7633a32]) 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 [PATCH] call clear_active_connections! in :after_dispatch to give pooled conn... state:committed] http://github.com/rails/rails/co...
