mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Freshen up config sample
This commit is contained in:
parent
7bd53fb089
commit
205f021010
1 changed files with 9 additions and 3 deletions
|
@ -1,13 +1,19 @@
|
||||||
# Sample configuration file for Sidekiq.
|
# Sample configuration file for Sidekiq.
|
||||||
# Options here can still be overridden by cmd line args.
|
# Options here can still be overridden by cmd line args.
|
||||||
# sidekiq -C config.yml
|
# Place this file at config/sidekiq.yml and Sidekiq will
|
||||||
|
# pick it up automatically.
|
||||||
---
|
---
|
||||||
:verbose: false
|
:verbose: false
|
||||||
:pidfile: ./tmp/pids/sidekiq.pid
|
:concurrency: 10
|
||||||
:concurrency: 25
|
|
||||||
# Set timeout to 8 on Heroku, longer if you manage your own systems.
|
# Set timeout to 8 on Heroku, longer if you manage your own systems.
|
||||||
:timeout: 30
|
:timeout: 30
|
||||||
:queues:
|
:queues:
|
||||||
- [critical, 3]
|
- [critical, 3]
|
||||||
- [default, 2]
|
- [default, 2]
|
||||||
- [low, 1]
|
- [low, 1]
|
||||||
|
|
||||||
|
# you can override concurrency based on environment
|
||||||
|
production:
|
||||||
|
:concurrency: 25
|
||||||
|
staging:
|
||||||
|
:concurrency: 15
|
||||||
|
|
Loading…
Add table
Reference in a new issue