1
0
Fork 0

Add env var "SIDEKIQ_CONCURRENCY"

This commit is contained in:
Alex Kotov 2018-12-10 06:30:32 +05:00
parent f5a4c77913
commit d5fb5220bf
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ services:
env:
global:
- RAILS_MAX_THREADS=5
- SIDEKIQ_CONCURRENCY=5
- POSTGRES_POOL=5
- POSTGRES_HOST=localhost

View File

@ -1 +1,2 @@
:pidfile: tmp/pids/sidekiq.pid
:concurrency: <%= ENV.fetch('SIDEKIQ_CONCURRENCY') { 5 } %>