summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-11-23 12:26:17 +0100
committerDouwe Maan <douwe@selenight.nl>2018-11-26 11:15:18 +0100
commit5f0e4040ce7d4d0019b3340dd603cc6f67dd036d (patch)
tree76fb16a30e6ea702ecc14164e9b1c4d277ac1920 /db
parentba9eeea4ee2eb3a43cc3d107a2590a6227af89ed (diff)
downloadgitlab-ce-5f0e4040ce7d4d0019b3340dd603cc6f67dd036d.tar.gz
Batch load only data from same repository when lazy object is accessed
By specifying `key`, we get a different lazy batch loader for each repository, which means that accessing a lazy object from one repository will only result in that repository's objects being fetched, not those of other repositories, saving us some unnecessary Gitaly lookups.
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions