mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
23 lines
619 B
YAML
23 lines
619 B
YAML
# Sample configuration file for Sidekiq.
|
|
# Options here can still be overridden by cmd line args.
|
|
# Place this file at config/sidekiq.yml and Sidekiq will
|
|
# pick it up automatically.
|
|
---
|
|
:verbose: false
|
|
:concurrency: 10
|
|
:timeout: 25
|
|
|
|
# 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
|
|
- default
|
|
- <%= `hostname`.strip %>
|
|
- low
|
|
|
|
# you can override concurrency based on environment
|
|
production:
|
|
:concurrency: 25
|
|
staging:
|
|
:concurrency: 15
|