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
Unknown Object (File)
Thu, Apr 11, 8:22 AM
Unknown Object (File)
Tue, Apr 2, 12:53 PM
Unknown Object (File)
Tue, Apr 2, 12:53 PM
Unknown Object (File)
Mar 21 2024, 11:19 AM
Unknown Object (File)
Mar 3 2024, 1:58 AM
Unknown Object (File)
Feb 24 2024, 6:47 AM
Unknown Object (File)
Jan 13 2024, 2:19 AM
Unknown Object (File)
Jan 2 2024, 9:18 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