about summary refs log tree commit diff
path: root/app/models/account_note.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 /app/models/account_note.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 'app/models/account_note.rb')
0 files changed, 0 insertions, 0 deletions