Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clear active connections after initialization #28057
Any connections that were checked out during initialization should be checked back in before the first request is processed, for two reasons:
The second use case was the reason I wrote this patch - we run a lot of Sidekiq processes at @intercom, and deploying this reduced the peak open connection count on our database by 13%.