about summary refs log tree commit diff
path: root/spec/models/account_spec.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-23 16:43:11 +0100
committerGitHub <noreply@github.com>2020-12-23 16:43:11 +0100
commitde57efd055c8c6af9e6e2aa450cea790546aabbc (patch)
tree0045c3f35bb15153740f79e29270574c5c8fb36a /spec/models/account_spec.rb
parent473abc35a19771304839dc57dc41ef309a826658 (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/account_spec.rb')
0 files changed, 0 insertions, 0 deletions