Skip to content

Commit a93022c

Browse files
committed
Set the sidekiq concurrency via ENV
1 parent d7c9051 commit a93022c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

config/sidekiq.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
staging:
55
:concurrency: 10
66
production:
7-
:concurrency: 20
7+
:concurrency: <%= ENV['SIDEKIQ_CONCURRENCY'] || 20 %>
88
:queues:
9-
- [low, 1]
10-
- [default,2]
11-
- [medium, 3]
12-
- [high, 4]
13-
- [urgent, 5]
9+
- [low, 1]
10+
- [default, 2]
11+
- [medium, 3]
12+
- [high, 4]
13+
- [urgent, 5]
1414
- [critical, 6]

0 commit comments

Comments
 (0)