about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-18 19:50:10 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-18 19:50:10 -0500
commit88fa00c35a6dd91711035f6ad1835ac83382164b (patch)
tree7d996c5c9cd5e196e37c12c3d4f0014801f05a3e /config
parent1c5ff0ec10071ed93c66447cfab4d73a2c43e2ce (diff)
split db pruning off into its own scheduled job
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 03b057257..82cc6cce7 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -18,6 +18,9 @@
   janitor_scheduler:
     every: '1h'
     class: Scheduler::JanitorScheduler
+  prune_database_scheduler:
+    every: '1d'
+    class: Scheduler::PruneDatabaseScheduler
   media_cleanup_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
     class: Scheduler::MediaCleanupScheduler