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