about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-15 07:50:14 +0200
committerGitHub <noreply@github.com>2019-07-15 07:50:14 +0200
commitb3f44aa186487b4f93f3a457607870c90caaf5df (patch)
treed543cf8a81a9ceddd64f075ae9a269916aadceab /config
parentcecd0c3cb1ed208b3291342d644128c8fe71f12d (diff)
Add periodic removal of older thumbnails for preview cards (#11304)
Diffstat (limited to 'config')
-rw-r--r--config/sidekiq.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index a16dea967..5c652792c 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -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