diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-08 09:36:05 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-08 09:36:05 -0500 |
commit | d8a1e472c2218fa2e71eef890ce89336d315c2ae (patch) | |
tree | 51b37b1702d2713d5d33506be20b54e51670b6ac /app | |
parent | bcfa50f5f585468d03e3471b4d282fca8cfaeee6 (diff) |
janitor - make sure values excludes are deduped
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/scheduler/janitor_scheduler.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/workers/scheduler/janitor_scheduler.rb b/app/workers/scheduler/janitor_scheduler.rb index 4fff07587..eb4192dd5 100644 --- a/app/workers/scheduler/janitor_scheduler.rb +++ b/app/workers/scheduler/janitor_scheduler.rb @@ -13,9 +13,9 @@ class Scheduler::JanitorScheduler @account = janitor_account return if @account.nil? - @exclude_ids = excluded_account_ids - @exclude_domains = excluded_domains - @exclude_markov = excluded_accounts_from_env('MARKOV') + @exclude_ids = excluded_account_ids.uniq + @exclude_domains = excluded_domains.uniq + @exclude_markov = excluded_accounts_from_env('MARKOV').uniq prune_deleted_accounts! suspend_abandoned_accounts! |