1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 02:12:41 +01:00
phorge-phorge/src
Edward Speyer 5c4a9ac9e5 Use LiskDAOSet's loadRelativeEdges with ReleephRequest
Summary:
`ReleephRequest`s contain the PHID for a `PhabricatorRepositoryCommit`, and commits have an edge to a `DifferentialRevision`.

Commits are loaded with the `loadOneRelative()` method that loads the commits for every `ReleephRequest` in a `LiskDAOSet`, but the edges are loaded indivdually.  A page with N RQs on it makes one DB query for the commits, but N queries for the `TYPE_COMMIT_HAS_DREV` edges.

This diff uses `loadRelativeEdges` instead to load the edges all in one query.

Test Plan: {F42290}

Reviewers: wez, epriestley

Reviewed By: epriestley

CC: epriestley, vrana, aran

Maniphest Tasks: T2714

Differential Revision: https://secure.phabricator.com/D5820
2013-05-07 11:05:18 +01:00
..
aphront Display bullet next to request with errors in DarkConsole. 2013-04-25 18:30:13 -07:00
applications Use LiskDAOSet's loadRelativeEdges with ReleephRequest 2013-05-07 11:05:18 +01:00
docs Document where Arcanist configuration can be set 2013-04-20 11:44:29 -07:00
infrastructure Countdown revamp 2013-05-03 15:53:36 -07:00
view Adds 'setSubHead' to Objectlist 2013-05-06 14:01:57 -07:00
__celerity_resource_map__.php Adds 'setSubHead' to Objectlist 2013-05-06 14:01:57 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Show prices in "$... USD" in Phortune 2013-05-06 18:04:45 -07:00