padrino/padrino-framework — Issue #792: ActiveRecord connection pool not cleaned up after requests
Author: jsims
Created: 2012-02-21 18:37:22+00:00
State: open

Requests have long pauses while AR reclaims connections after the connection pool has been consumed. We had to manually add ActiveRecord::Base.clear_active_connections! as an after filter to ensure connections are cleaned up. Rails does this automatically.