mastodon/spec/services
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
..
activitypub
account_search_service_spec.rb
after_block_domain_from_account_service_spec.rb
after_block_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
app_sign_up_service_spec.rb
authorize_follow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
batched_remove_status_service_spec.rb Improve account deletion performances further (#15407) 2020-12-22 23:57:46 +01:00
block_domain_service_spec.rb
block_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
bootstrap_timeline_service_spec.rb Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid (#12037) 2019-10-01 15:10:00 +02:00
clear_domain_media_service_spec.rb
delete_account_service_spec.rb Fix some notifications not being deleted on poll/status deletion (#15402) 2020-12-21 18:22:17 +01:00
fan_out_on_write_service_spec.rb
favourite_service_spec.rb
fetch_link_card_service_spec.rb Fix FetchLinkCardServices crashing on a tags without a target (#12159) 2019-11-21 16:04:52 +01:00
fetch_oembed_service_spec.rb
fetch_remote_status_service_spec.rb
fetch_resource_service_spec.rb
follow_service_spec.rb Change silences to always require approval on follow (#11975) 2019-09-27 21:13:51 +02:00
import_service_spec.rb Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
mute_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
notify_service_spec.rb
post_status_service_spec.rb
precompute_feed_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
reject_follow_service_spec.rb
remove_status_service_spec.rb Fix some notifications not being deleted on poll/status deletion (#15402) 2020-12-21 18:22:17 +01:00
report_service_spec.rb
resolve_account_service_spec.rb Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364) 2020-12-18 23:26:26 +01:00
resolve_url_service_spec.rb Improve searching for private toots from URL (#14856) 2020-12-17 06:51:49 +01:00
search_service_spec.rb Fix hashtag search performing account search as well (#13758) 2020-05-14 23:37:37 +02:00
unallow_domain_service_spec.rb
unblock_domain_service_spec.rb Add domain block notes (#11515) 2019-08-07 20:20:23 +02:00
unblock_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
unfollow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
unmute_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
update_account_service_spec.rb
verify_link_service_spec.rb Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00