diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-27 07:51:19 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:16 -0500 |
commit | 01bafc18583d05f49d9a6356557d7ff9a7682875 (patch) | |
tree | c906299fdc022b7c5c82eda72c523c3dfaaa71c2 /app | |
parent | 22326c3c028ff9e542ba4cbc8422076c420287fc (diff) |
[Bug] AccountConversation already covered by Conversation pruning in DatabaseCleanupScheduler
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/scheduler/database_cleanup_scheduler.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/workers/scheduler/database_cleanup_scheduler.rb b/app/workers/scheduler/database_cleanup_scheduler.rb index 8910d6831..dfc40959d 100644 --- a/app/workers/scheduler/database_cleanup_scheduler.rb +++ b/app/workers/scheduler/database_cleanup_scheduler.rb @@ -7,7 +7,6 @@ class Scheduler::DatabaseCleanupScheduler def perform Conversation.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all - AccountConversation.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all Tag.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all StatusStat.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all Setting.rewhere(thing_type: 'User').where.not(thing_id: User.select(:id)).destroy_all |