about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-21 20:58:34 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:44:01 -0500
commit43fa66fe39e03c8af4b77b4c01798bf8ca0dd4aa (patch)
tree6ce3e03560825e03c1000f07ef60665be60206eb /config
parent43b25edb4f8be2314eb0d8f22d52dded24c04d0a (diff)
[Database] Add task to prune empty and orphaned items
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 f1a677b50..a9eea097b 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -39,3 +39,6 @@
   ambassador_scheduler:
     every: '<%= ENV['AMBASSADOR_DELAY'] || 10 %>m'
     class: Scheduler::AmbassadorScheduler
+  database_cleanup_scheduler:
+    every: '1d'
+    class: Scheduler::DatabaseCleanupScheduler