From 22e36271c5c10fbf462fb385e12b50a015d0fd99 Mon Sep 17 00:00:00 2001
From: Colin Mitchell <colin@muffinlabs.com>
Date: Thu, 15 Dec 2022 10:38:37 -0500
Subject: [PATCH] Add environment variable to configure sidekiq concurrency
 (#19589)

Co-authored-by: Effy Elden <effy@effy.space>
---
 config/sidekiq.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index 05c5b28c8..b8739aab3 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -1,5 +1,5 @@
 ---
-:concurrency: 5
+:concurrency: <%= ENV.fetch('SIDEKIQ_CONCURRENCY', 5) %>
 :queues:
   - [default, 8]
   - [push, 6]