1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 11:52:40 +01:00
phorge-phorge/src/applications/repository/engine
epriestley 417056932e Make discovery slightly cheaper in the common case
Summary:
Ref T4605. Before discovering branches, try to prefill the cache in bulk. For repositories with large numbers of branches, this allows us to issue dramatically fewer queries.

(Before D8780, this cache was usually held across discovery events, so being able to fill it cheaply was not as relevant.)

Test Plan: Ran discovery on Git, Mercurial and SVN repositories. Observed fewer queries for Git/Mercurial.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4605

Differential Revision: https://secure.phabricator.com/D8781
2014-04-16 13:00:38 -07:00
..
__tests__ Added some additional assertion methods. 2014-03-08 19:16:21 -08:00
PhabricatorRepositoryCommitRef.php Move Git discovery into DiscoveryEngine 2014-01-17 11:48:53 -08:00
PhabricatorRepositoryDiscoveryEngine.php Make discovery slightly cheaper in the common case 2014-04-16 13:00:38 -07:00
PhabricatorRepositoryEngine.php Separate repository mirroring into an Engine and provide bin/repository mirror 2014-01-25 14:01:58 -08:00
PhabricatorRepositoryMirrorEngine.php Add basic support for mirroring Mercurial repositories 2014-01-30 08:37:12 -08:00
PhabricatorRepositoryPullEngine.php When repairing Git remote URIs, include credentials 2014-01-23 17:23:38 -08:00
PhabricatorRepositoryRefEngine.php Fix two issues with ref discovery 2014-02-28 12:56:18 -08:00