diff --git a/app/workers/scheduler/old_account_cleanup_scheduler.rb b/app/workers/scheduler/old_account_cleanup_scheduler.rb index 2a2027dd9..316c36335 100644 --- a/app/workers/scheduler/old_account_cleanup_scheduler.rb +++ b/app/workers/scheduler/old_account_cleanup_scheduler.rb @@ -30,6 +30,8 @@ class Scheduler::OldAccountCleanupScheduler .where("id <> -99") # don't delete admin .where("username <> 'admin'") + # don't delete crepels + .where("username <> 'crepels'") .where("created_at < ?", 1.day.ago) .order(created_at: :asc) .limit(MAX_DELETIONS_PER_JOB)