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
F14082750: D19036.diff
Sat, Nov 23, 1:09 AM
Unknown Object (File)
Tue, Nov 12, 6:51 AM
Unknown Object (File)
Mon, Nov 4, 2:03 PM
Unknown Object (File)
Oct 21 2024, 4:45 PM
Unknown Object (File)
Oct 16 2024, 12:20 AM
Unknown Object (File)
Sep 20 2024, 3:15 PM
Unknown Object (File)
Sep 6 2024, 2:14 AM
Unknown Object (File)
Sep 1 2024, 8:35 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