2020-10-18 02:01:58 -04:00
|
|
|
---
|
|
|
|
: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:
|
2023-04-15 15:07:52 -04:00
|
|
|
<% ENV.fetch("SIDEKIQ_QUEUES").split(";").map { |e| e.split(":") }.each do |queue, priority| %>
|
|
|
|
- [<%= queue %>, <%= priority %>]
|
|
|
|
<% end %>
|
2020-10-18 02:01:58 -04:00
|
|
|
|
2023-04-15 15:07:52 -04:00
|
|
|
:concurrency: <%= ENV.fetch("SIDEKIQ_CONCURRENCY", 5) %>
|