about summary refs log tree commit diff
diff options
context:
space:
mode:
authorColin Mitchell <colin@muffinlabs.com>2022-12-15 10:38:37 -0500
committerGitHub <noreply@github.com>2022-12-15 16:38:37 +0100
commit22e36271c5c10fbf462fb385e12b50a015d0fd99 (patch)
treee5306e7aae05c8fc6a1712260e2177250f43e019
parent72a8af80886f270a27bd686f1fa86ef478748963 (diff)
Add environment variable to configure sidekiq concurrency (#19589)
Co-authored-by: Effy Elden <effy@effy.space>
-rw-r--r--config/sidekiq.yml2
1 files changed, 1 insertions, 1 deletions
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]