2012-02-26 23:48:24 -05:00
|
|
|
# Sample configuration file for Sidekiq.
|
|
|
|
# Options here can still be overridden by cmd line args.
|
2015-07-02 23:36:31 -04:00
|
|
|
# Place this file at config/sidekiq.yml and Sidekiq will
|
|
|
|
# pick it up automatically.
|
2012-02-26 23:48:24 -05:00
|
|
|
---
|
2012-04-12 05:19:02 -04:00
|
|
|
:verbose: false
|
2015-07-02 23:36:31 -04:00
|
|
|
:concurrency: 10
|
2019-08-28 13:19:39 -04:00
|
|
|
:timeout: 25
|
2015-07-02 23:41:07 -04:00
|
|
|
|
|
|
|
# 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/
|
2012-02-26 23:48:24 -05:00
|
|
|
:queues:
|
2015-07-02 23:41:07 -04:00
|
|
|
- critical
|
|
|
|
- default
|
|
|
|
- <%= `hostname`.strip %>
|
|
|
|
- low
|
2015-07-02 23:36:31 -04:00
|
|
|
|
|
|
|
# you can override concurrency based on environment
|
|
|
|
production:
|
|
|
|
:concurrency: 25
|
|
|
|
staging:
|
|
|
|
:concurrency: 15
|