mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
50ed42761c
Summary: Ref T3496. Currently, we call loadAssets() on each revision table, which invokes a new revision query and a pile of subqueries. Instead, add `needFlags()` and `needDrafts()` to `RevisionQuery`. Some day these could perhaps be more generic. Test Plan: - Viewed home, differential, etc., no longer saw 9203809238 queries being run for no reason. - Drafts and flags still appear properly. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T3496 Differential Revision: https://secure.phabricator.com/D8277 |
||
---|---|---|
.. | ||
DifferentialCommentQuery.php | ||
DifferentialDiffQuery.php | ||
DifferentialInlineCommentQuery.php | ||
DifferentialRepositoryLookup.php | ||
DifferentialRevisionQuery.php | ||
DifferentialRevisionSearchEngine.php | ||
DifferentialTransactionQuery.php |