Skip to content

Commit

Permalink
Add environment variable to configure sidekiq concurrency (mastodon#1…
Browse files Browse the repository at this point in the history
…9589)

Co-authored-by: Effy Elden <effy@effy.space>
  • Loading branch information
2 people authored and Nonexistent committed Jan 11, 2023
1 parent f4810e9 commit 6cac623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/sidekiq.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
:concurrency: 5
:concurrency: <%= ENV.fetch('SIDEKIQ_CONCURRENCY', 5) %>
:queues:
- [default, 8]
- [push, 6]
Expand Down

0 comments on commit 6cac623

Please sign in to comment.