Page MenuHomePhabricator

Remove completely pointless load of every repository when viewing a repository URI
ClosedPublic

Authored by epriestley on Feb 8 2018, 8:43 PM.
Tags
None
Referenced Files
F13141074: D19036.diff
Fri, May 3, 4:09 AM
Unknown Object (File)
Mon, Apr 29, 4:26 PM
Unknown Object (File)
Thu, Apr 25, 12:05 AM
Unknown Object (File)
Thu, Apr 11, 8:22 AM
Unknown Object (File)
Apr 2 2024, 12:53 PM
Unknown Object (File)
Apr 2 2024, 12:53 PM
Unknown Object (File)
Mar 21 2024, 11:19 AM
Unknown Object (File)
Mar 3 2024, 1:58 AM
Subscribers

Details

Summary

See D18176. This query has no effect (other than wasting resources) and the result is unused.

$repository already has the URI loaded because we load them unconditionally during request initialization.

Test Plan

Viewed repository URIs.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable