mastodon/app/workers/scheduler
ThibG 3249d35bdc
Improve account deletion performances further ()
* 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>
..
backup_cleanup_scheduler.rb Fix background jobs not using locks like they are supposed to ()
doorkeeper_cleanup_scheduler.rb Add E2EE API ()
email_scheduler.rb Fix background jobs not using locks like they are supposed to ()
feed_cleanup_scheduler.rb Improve account deletion performances further ()
instance_refresh_scheduler.rb Fix performance on instances list in admin UI ()
ip_cleanup_scheduler.rb Add IP-based rules ()
media_cleanup_scheduler.rb Fix background jobs not using locks like they are supposed to ()
pghero_scheduler.rb Fix background jobs not using locks like they are supposed to ()
scheduled_statuses_scheduler.rb Fix background jobs not using locks like they are supposed to ()
trending_tags_scheduler.rb Fix background jobs not using locks like they are supposed to ()
user_cleanup_scheduler.rb Change account suspensions to be reversible by default ()