]> cat aescling's git repositories - mastodon.git/commit
Improve account suspension speed and completeness (#9290)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 3 Dec 2018 00:32:08 +0000 (01:32 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Dec 2018 00:32:08 +0000 (01:32 +0100)
commit6ddf0432e71aea7c62f1ee7946da5538d2526a13
treefa8057bdaee7c582d5aa3cb82071a9805412b082
parent2df5ef18ae3449825fdef6c83d5b3a7b19fd7ebb
Improve account suspension speed and completeness (#9290)

- Some associations were missing from the clean-up
- Some attributes were not reset on suspension
- Skip federation and streaming deletes when purging a dead domain
- Move account association definitions to concern
app/models/account.rb
app/models/concerns/account_associations.rb [new file with mode: 0644]
app/services/batched_remove_status_service.rb
app/services/suspend_account_service.rb
app/workers/admin/suspension_worker.rb
lib/mastodon/domains_cli.rb