mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 13:17:35 +00:00
67559361e8
* Add scheduled worker to purge old user IPs * Use ruby 1.9 hash syntax
30 lines
750 B
YAML
30 lines
750 B
YAML
---
|
|
:concurrency: 5
|
|
:queues:
|
|
- default
|
|
- push
|
|
- pull
|
|
- mailers
|
|
:schedule:
|
|
subscriptions_scheduler:
|
|
cron: '0 5 * * *'
|
|
class: Scheduler::SubscriptionsScheduler
|
|
media_cleanup_scheduler:
|
|
cron: '5 4 * * *'
|
|
class: Scheduler::MediaCleanupScheduler
|
|
feed_cleanup_scheduler:
|
|
cron: '0 0 * * *'
|
|
class: Scheduler::FeedCleanupScheduler
|
|
doorkeeper_cleanup_scheduler:
|
|
cron: '1 1 * * 0'
|
|
class: Scheduler::DoorkeeperCleanupScheduler
|
|
user_cleanup_scheduler:
|
|
cron: '4 5 * * *'
|
|
class: Scheduler::UserCleanupScheduler
|
|
subscriptions_cleanup_scheduler:
|
|
cron: '2 2 * * 0'
|
|
class: Scheduler::SubscriptionsCleanupScheduler
|
|
ip_cleanup_scheduler:
|
|
cron: '0 4 * * *'
|
|
class: Scheduler::IpCleanupScheduler
|