Improve speed of user feed
Test Plan: /p/x/feed/ Reviewers: epriestley Reviewed By: epriestley CC: aran Maniphest Tasks: T1099 Differential Revision: https://secure.phabricator.com/D2176
This commit is contained in:
parent
e69c8abc15
commit
6d313a1676
|
@ -92,8 +92,8 @@ final class PhabricatorFeedQuery {
|
||||||
'SELECT story.* FROM %T ref
|
'SELECT story.* FROM %T ref
|
||||||
JOIN %T story ON ref.chronologicalKey = story.chronologicalKey
|
JOIN %T story ON ref.chronologicalKey = story.chronologicalKey
|
||||||
%Q
|
%Q
|
||||||
GROUP BY story.chronologicalKey
|
GROUP BY ref.chronologicalKey
|
||||||
ORDER BY story.chronologicalKey %Q
|
ORDER BY ref.chronologicalKey %Q
|
||||||
LIMIT %d',
|
LIMIT %d',
|
||||||
$ref_table->getTableName(),
|
$ref_table->getTableName(),
|
||||||
$story_table->getTableName(),
|
$story_table->getTableName(),
|
||||||
|
|
Loading…
Reference in a new issue