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

dynamic queues example

This commit is contained in:
Mike Perham 2015-07-02 20:41:07 -07:00
parent 205f021010
commit 777392a112

View file

@ -5,12 +5,18 @@
---
:verbose: false
:concurrency: 10
# Set timeout to 8 on Heroku, longer if you manage your own systems.
:timeout: 30
# 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:
- [critical, 3]
- [default, 2]
- [low, 1]
- critical
- default
- <%= `hostname`.strip %>
- low
# you can override concurrency based on environment
production: