Skip to content
Snippets Groups Projects
Unverified Commit a7d726c3 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Improve counter caches on Status and Account (#7644)

Do not touch statuses_count on accounts table when mass-destroying
statuses to reduce load when removing accounts, same for
reblogs_count and favourites_count

Do not count statuses with direct visibility in statuses_count

Fix #828
parent 46154278
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment