eBooru/config/sidekiq.yml
2020-10-17 22:35:28 -07:00

23 lines
548 B
YAML

---
:verbose: false
:concurrency: 5
# 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:
- [video, 1]
- [low_prio, 1]
- [tags, 2]
- [default, 3]
- [high_prio, 5]
# you can override concurrency based on environment
production:
:concurrency: 15
staging:
:concurrency: 5