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-02-11 16:20:38 +00:00
|
|
|
:concurrency: 5
|
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]
|
2020-02-14 17:49:17 +00:00
|
|
|
- [webhooks, 1]
|
2020-03-05 20:13:12 +00:00
|
|
|
- [bots, 1]
|
2020-03-29 13:48:30 +00:00
|
|
|
- [events, 3]
|
|
|
|
|
2019-12-24 21:33:02 +00:00
|
|
|
# you can override concurrency based on environment
|
|
|
|
production:
|
2020-02-11 16:20:38 +00:00
|
|
|
:concurrency: 10
|
2020-02-11 16:57:03 +00:00
|
|
|
staging:
|
|
|
|
:concurrency: 5
|