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 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
---
: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