mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-30 00:30:40 +00:00
6465972caf
So they can be copied during installation instead of looking them up in the documentation Make default sidekiq configuration use weighted queues Remove deprecated docs directory
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
---
|
|
:concurrency: 5
|
|
:queues:
|
|
- [default, 6]
|
|
- [push, 4]
|
|
- [mailers, 2]
|
|
- [pull]
|
|
:schedule:
|
|
subscriptions_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
|
|
class: Scheduler::SubscriptionsScheduler
|
|
media_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
|
|
class: Scheduler::MediaCleanupScheduler
|
|
feed_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * *'
|
|
class: Scheduler::FeedCleanupScheduler
|
|
doorkeeper_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * 0'
|
|
class: Scheduler::DoorkeeperCleanupScheduler
|
|
user_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
|
|
class: Scheduler::UserCleanupScheduler
|
|
subscriptions_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(1..3) %> * * 0'
|
|
class: Scheduler::SubscriptionsCleanupScheduler
|
|
ip_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
|
|
class: Scheduler::IpCleanupScheduler
|
|
email_scheduler:
|
|
cron: '0 10 * * 2'
|
|
class: Scheduler::EmailScheduler
|
|
backup_cleanup_scheduler:
|
|
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
|
|
class: Scheduler::BackupCleanupScheduler
|