1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/examples/config.yml

24 lines
619 B
YAML
Raw Normal View History

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