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