forked from e621ng/e621ng
16 lines
516 B
YAML
16 lines
516 B
YAML
---
|
|
:verbose: false
|
|
|
|
# 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:
|
|
<% ENV.fetch("SIDEKIQ_QUEUES").split(";").map { |e| e.split(":") }.each do |queue, priority| %>
|
|
- [<%= queue %>, <%= priority %>]
|
|
<% end %>
|
|
|
|
:concurrency: <%= ENV.fetch("SIDEKIQ_CONCURRENCY", 5) %>
|