1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Don't load unnecessary handle data on "transaction.search"

Summary: Ref T13242. Currently, the transaction query loads handles by default (this is unusual). We don't need them, so turn them off.

Test Plan: No apparent behavioral change, will compare production profiles.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13242

Differential Revision: https://secure.phabricator.com/D20068
This commit is contained in:
epriestley 2019-01-30 19:49:02 -08:00
parent 7dd55a728f
commit 942d6d60d5

View file

@ -68,6 +68,7 @@ final class TransactionSearchConduitAPIMethod
$object);
$xaction_query
->needHandles(false)
->withObjectPHIDs(array($object->getPHID()))
->setViewer($viewer);