diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-21 20:58:34 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:44:01 -0500 |
commit | 43fa66fe39e03c8af4b77b4c01798bf8ca0dd4aa (patch) | |
tree | 6ce3e03560825e03c1000f07ef60665be60206eb /config | |
parent | 43b25edb4f8be2314eb0d8f22d52dded24c04d0a (diff) |
[Database] Add task to prune empty and orphaned items
Diffstat (limited to 'config')
-rw-r--r-- | config/sidekiq.yml | 3 |
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 |