f116f87c91
Adding two extra connections does nothing other than increasing the number of idle database connections. Given Sidekiq uses N threads it can never use more than N AR connections at a time, thus we don't need more. The initializer mentioned the Sidekiq upgrade guide stating this was required. This is false, the Sidekiq upgrade guide states this is necessary for Redis and not ActiveRecord. On GitLab.com this resulted in a reduction of about 80-100 PostgreSQL connections. Fixes #27713
4 lines
89 B
YAML
4 lines
89 B
YAML
---
|
|
title: Don't use backup Active Record connections for Sidekiq
|
|
merge_request:
|
|
author:
|