2019-12-24 21:33:02 +00:00
|
|
|
# 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
|
2020-02-11 16:20:38 +00:00
|
|
|
:concurrency: 5
|
2019-12-24 21:33:02 +00:00
|
|
|
:timeout: 25
|
2021-12-15 12:01:16 +00:00
|
|
|
:max_retries: 3
|
2019-12-24 21:33:02 +00:00
|
|
|
|
|
|
|
# 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:
|
2020-01-23 17:29:07 +00:00
|
|
|
- [low, 1]
|
2021-01-11 12:04:41 +00:00
|
|
|
- [scheduled_jobs, 1]
|
2020-02-14 17:49:17 +00:00
|
|
|
- [webhooks, 1]
|
2020-03-05 20:13:12 +00:00
|
|
|
- [bots, 1]
|
2020-04-30 14:50:26 +00:00
|
|
|
- [active_storage_analysis, 1]
|
|
|
|
- [action_mailbox_incineration, 1]
|
2022-03-29 06:13:07 +00:00
|
|
|
- [active_storage_purge, 1]
|
2021-01-11 12:04:41 +00:00
|
|
|
- [integrations, 2]
|
2020-04-30 14:50:26 +00:00
|
|
|
- [default, 2]
|
|
|
|
- [mailers, 2]
|
|
|
|
- [medium, 3]
|
2020-03-29 13:48:30 +00:00
|
|
|
- [events, 3]
|
2020-04-30 14:50:26 +00:00
|
|
|
- [action_mailbox_routing, 3]
|
|
|
|
- [high, 5]
|
|
|
|
- [critical, 10]
|
2021-12-15 12:01:16 +00:00
|
|
|
|
2019-12-24 21:33:02 +00:00
|
|
|
# you can override concurrency based on environment
|
|
|
|
production:
|
2020-02-11 16:20:38 +00:00
|
|
|
:concurrency: 10
|
2020-02-11 16:57:03 +00:00
|
|
|
staging:
|
|
|
|
:concurrency: 5
|