Commit Graph

7 Commits (223f9ca6652156c7551286cd9e4b69dfeb18a1d5)

Author SHA1 Message Date
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Claire ac583fce21
Fix some old migration scripts ()
* Fix some old migration scripts

* Fix edge case in two-step migration from older releases
Eugen Rochko 8e84ebf0cb
Remove IP tracking columns from users table ()
Takeshi Umeda bda8e4f815
Fix follow recommendation biased towards older accounts ()
Claire d9ae3db8d5
Improve performance of follow recommendation scheduler ()
Express follow_recommendations in terms of account_summaries rather than
accounts, integrate filters that are unconditionally used, and materialize
the resulting view.

This should result in the bulk of the computation being performed only once
instead of **once per recommendation language**.
Eugen Rochko f7117646af
Add cold-start follow recommendations ()
Eugen Rochko 216b85b053
Fix performance on instances list in admin UI ()
- Reduce duplicate queries
- Remove n+1 queries
- Add accounts count to detailed view
- Add separate action log entry for updating existing domain blocks