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

26 lines
689 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
2015-07-02 23:41:07 -04:00
2014-03-09 17:59:55 -04:00
# Set timeout to 8 on Heroku, longer if you manage your own systems.
:timeout: 30
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