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