Add periodic removal of older thumbnails for preview cards (#11304)

This commit is contained in:
Eugen Rochko
2019-07-15 07:50:14 +02:00
committed by GitHub
parent cecd0c3cb1
commit b3f44aa186
3 changed files with 43 additions and 0 deletions

View File

@ -27,6 +27,9 @@
ip_cleanup_scheduler:
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
class: Scheduler::IpCleanupScheduler
preview_cards_cleanup_scheduler:
cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
class: Scheduler::PreviewCardsCleanupScheduler
email_scheduler:
cron: '0 10 * * 2'
class: Scheduler::EmailScheduler