2019-12-24 21:33:02 +00:00
|
|
|
# Sample configuration file for Sidekiq.
|
|
|
|
# Options here can still be overridden by cmd line args.
|
|
|
|
# Place this file at config/sidekiq.yml and Sidekiq will
|
|
|
|
# pick it up automatically.
|
|
|
|
---
|
|
|
|
:verbose: false
|
2020-01-26 18:30:13 +00:00
|
|
|
:concurrency: 3
|
2019-12-24 21:33:02 +00:00
|
|
|
:timeout: 25
|
|
|
|
|
|
|
|
# Sidekiq will run this file through ERB when reading it so you can
|
|
|
|
# even put in dynamic logic, like a host-specific queue.
|
|
|
|
# http://www.mikeperham.com/2013/11/13/advanced-sidekiq-host-specific-queues/
|
|
|
|
:queues:
|
2020-01-23 17:29:07 +00:00
|
|
|
- [critical, 5]
|
|
|
|
- [default, 2]
|
|
|
|
- [low, 1]
|
|
|
|
- [mailers, 2]
|
2019-12-24 21:33:02 +00:00
|
|
|
|
|
|
|
# you can override concurrency based on environment
|
|
|
|
production:
|
2020-01-26 18:30:13 +00:00
|
|
|
:concurrency: 10
|
2019-12-24 21:33:02 +00:00
|
|
|
staging:
|
2020-01-26 18:30:13 +00:00
|
|
|
:concurrency: 5
|