diff options
author | ThibG <thib@sitedethib.com> | 2020-12-23 16:43:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 16:43:11 +0100 |
commit | de57efd055c8c6af9e6e2aa450cea790546aabbc (patch) | |
tree | 0045c3f35bb15153740f79e29270574c5c8fb36a /spec/models/one_time_key_spec.rb | |
parent | 473abc35a19771304839dc57dc41ef309a826658 (diff) |
Fix mentions not being deleted efficiently (#15416)
As a regression from the recent optimizations, mentions were left untouched until `account.destroy`, which would then delete them individually, and executing queries to find and delete associated notifications, resulting in a massive slowdown. Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'spec/models/one_time_key_spec.rb')
0 files changed, 0 insertions, 0 deletions