2016-03-25 13:20:31 +00:00
|
|
|
---
|
2022-12-15 15:38:37 +00:00
|
|
|
:concurrency: <%= ENV.fetch('SIDEKIQ_CONCURRENCY', 5) %>
|
2017-05-05 01:23:01 +01:00
|
|
|
:queues:
|
2022-11-10 13:21:51 +00:00
|
|
|
- [default, 8]
|
|
|
|
- [push, 6]
|
|
|
|
- [ingress, 4]
|
2018-09-24 15:46:05 +01:00
|
|
|
- [mailers, 2]
|
|
|
|
- [pull]
|
2020-12-15 02:04:03 +00:00
|
|
|
- [scheduler]
|
|
|
|
:scheduler:
|
|
|
|
:listened_queues_only: true
|
2017-05-05 01:23:01 +01:00
|
|
|
:schedule:
|
2019-01-05 11:43:28 +00:00
|
|
|
scheduled_statuses_scheduler:
|
|
|
|
every: '5m'
|
|
|
|
class: Scheduler::ScheduledStatusesScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2021-11-25 12:07:38 +00:00
|
|
|
trends_refresh_scheduler:
|
2019-09-02 17:11:13 +01:00
|
|
|
every: '5m'
|
2021-11-25 12:07:38 +00:00
|
|
|
class: Scheduler::Trends::RefreshScheduler
|
|
|
|
queue: scheduler
|
|
|
|
trends_review_notifications_scheduler:
|
2022-03-22 10:58:25 +00:00
|
|
|
every: '6h'
|
2021-11-25 12:07:38 +00:00
|
|
|
class: Scheduler::Trends::ReviewNotificationsScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2022-05-18 22:29:14 +01:00
|
|
|
indexing_scheduler:
|
|
|
|
every: '5m'
|
|
|
|
class: Scheduler::IndexingScheduler
|
|
|
|
queue: scheduler
|
2022-09-27 02:08:19 +01:00
|
|
|
vacuum_scheduler:
|
2017-09-17 10:58:20 +01:00
|
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
|
2022-09-27 02:08:19 +01:00
|
|
|
class: Scheduler::VacuumScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2021-04-12 11:37:14 +01:00
|
|
|
follow_recommendations_scheduler:
|
|
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(6..9) %> * * *'
|
|
|
|
class: Scheduler::FollowRecommendationsScheduler
|
|
|
|
queue: scheduler
|
2017-07-24 15:17:55 +01:00
|
|
|
user_cleanup_scheduler:
|
2017-09-17 10:58:20 +01:00
|
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
|
2017-07-24 15:17:55 +01:00
|
|
|
class: Scheduler::UserCleanupScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2017-09-14 21:26:38 +01:00
|
|
|
ip_cleanup_scheduler:
|
2017-09-17 10:58:20 +01:00
|
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
|
2017-09-14 21:26:38 +01:00
|
|
|
class: Scheduler::IpCleanupScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2018-10-09 18:35:14 +01:00
|
|
|
pghero_scheduler:
|
|
|
|
cron: '0 0 * * *'
|
|
|
|
class: Scheduler::PgheroScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2020-12-14 08:06:34 +00:00
|
|
|
instance_refresh_scheduler:
|
|
|
|
cron: '0 * * * *'
|
|
|
|
class: Scheduler::InstanceRefreshScheduler
|
2020-12-15 02:04:03 +00:00
|
|
|
queue: scheduler
|
2021-08-09 22:11:50 +01:00
|
|
|
accounts_statuses_cleanup_scheduler:
|
|
|
|
interval: 1 minute
|
|
|
|
class: Scheduler::AccountsStatusesCleanupScheduler
|
|
|
|
queue: scheduler
|
2022-11-09 13:08:19 +00:00
|
|
|
suspended_user_cleanup_scheduler:
|
|
|
|
interval: 1 minute
|
|
|
|
class: Scheduler::SuspendedUserCleanupScheduler
|
|
|
|
queue: scheduler
|