1
0
Fork 0
forked from fedi/mastodon
mastodon/app/workers/scheduler
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
..
backup_cleanup_scheduler.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
doorkeeper_cleanup_scheduler.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
email_scheduler.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
feed_cleanup_scheduler.rb Improve account deletion performances further (#15407) 2020-12-22 23:57:46 +01:00
instance_refresh_scheduler.rb Fix performance on instances list in admin UI (#15282) 2020-12-14 09:06:34 +01:00
ip_cleanup_scheduler.rb Add IP-based rules (#14963) 2020-10-12 16:33:49 +02:00
media_cleanup_scheduler.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
pghero_scheduler.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
scheduled_statuses_scheduler.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
trending_tags_scheduler.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
user_cleanup_scheduler.rb Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00