Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-27 16:07:38 +0300
committerStan Hu <stanhu@gmail.com>2019-08-28 01:52:33 +0300
commit2022e6799bcbf119ea80145e4993ffdb7bb108e3 (patch)
tree19fb831f799ad9353751f7f51b0a5f309f4eead8 /app/models/user_custom_attribute.rb
parenta58f4f00cf7cc8b4755d0d20094cbbd547d31d2b (diff)
Makes LFS object linker process OIDs in batches
During a project import, `LfsLinkService` attempts to link `LfsObjects` that have not already been associated with a project. It's possible for a large repo to have thousands of OIDs, which can cause long database query and parsing times. By processing a batch of 1000 at a time, we can reduce that time at the expense of a few more SQL queries. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66274
Diffstat (limited to 'app/models/user_custom_attribute.rb')
0 files changed, 0 insertions, 0 deletions