about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-03 05:32:49 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-03 05:32:49 -0500
commit6613005ae63bdc31a818d7488c36a130b558a903 (patch)
treec5ac9032e4b87413f902b0e0be087fb0c476a1e1 /config
parent99d1b1ff6f482df13d6917d5340ec28baaf76302 (diff)
`monsterpit-janitor` is now built in as a sidekiq job (with better code)
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 1ab523efb..4390b5a0e 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -12,6 +12,9 @@
   destructing_statuses_scheduler:
     every: '1m'
     class: Scheduler::DestructingStatusesScheduler
+  janitor_scheduler:
+    every: '1h'
+    class: Scheduler::JanitorScheduler
   media_cleanup_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
     class: Scheduler::MediaCleanupScheduler