Replace mastodon:media:clear and mastodon:feeds:clear rake tasks with (#3180)

sidekiq-scheduler jobs

Resolves #2495
This commit is contained in:
Eugen Rochko 2017-05-20 19:42:58 +02:00 committed by GitHub
parent d78f555254
commit ef900789bc
4 changed files with 53 additions and 4 deletions

View file

@ -9,3 +9,9 @@
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