gitlab-org--gitlab-foss/changelogs/unreleased/remove-sidekiq-backup-ar-threads.yml
Yorick Peterse f116f87c91
Don't use backup AR connections for Sidekiq
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
2017-02-06 16:35:41 +01:00

4 lines
89 B
YAML

---
title: Don't use backup Active Record connections for Sidekiq
merge_request:
author: