diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-11-23 12:26:17 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-11-26 11:15:18 +0100 |
commit | 5f0e4040ce7d4d0019b3340dd603cc6f67dd036d (patch) | |
tree | 76fb16a30e6ea702ecc14164e9b1c4d277ac1920 /db | |
parent | ba9eeea4ee2eb3a43cc3d107a2590a6227af89ed (diff) | |
download | gitlab-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