mastodon/app
ThibG 3249d35bdc
Improve account deletion performances further (#15407)
* Delete status records by batches of 50

* Do not precompute values that are only used once

* Do not generate redis events for removal of public toots older than two weeks

* Filter reported toots a priori for polls and status deletion

* Do not process reblogs when cleaning up public timelines

As in Mastodon proper, reblogs don't appear in public TLs

* Clean the deleted account's own feed in one go

* Refactor Account#clean_feed_manager and List#clean_feed_manager

* Delete instead of destroy a few more associations

* Fix preloading

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2020-12-22 23:57:46 +01:00
..
chewy
controllers
helpers
javascript
lib Improve account deletion performances further (#15407) 2020-12-22 23:57:46 +01:00
mailers
models Improve account deletion performances further (#15407) 2020-12-22 23:57:46 +01:00
policies
presenters
serializers
services Improve account deletion performances further (#15407) 2020-12-22 23:57:46 +01:00
validators
views
workers Improve account deletion performances further (#15407) 2020-12-22 23:57:46 +01:00