gitlab-org--gitlab-foss/lib
Zeger-Jan van de Weg f9565e3039
Batchload blobs for diff generation
After installing a new gem, batch-loader, a construct can be used to
queue data to be fetched in bulk. The gem was also introduced in both
gitlab-org/gitlab-ce!14680 and gitlab-org/gitlab-ce!14846, but those mrs
are not merged yet.

For the generation of diffs, both the old blob and the new blob need to
be loaded. This for every file in the diff, too. Now we collect all
these so we do 1 fetch. Three `.allow_n_plus_1_calls` have been removed,
which I expect to be valid, but this needs to be confirmed by a full CI
run.

Possibly closes:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37445
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37599
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37431
2017-11-21 13:53:26 +01:00
..
api Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' 2017-11-20 09:22:14 +00:00
assets
backup Fix dumping hashed storage based repository 2017-11-15 15:20:36 +01:00
banzai Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
bitbucket
constraints Reallow project paths ending in periods 2017-11-06 14:46:53 +01:00
container_registry
declarative_policy Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
generators/rails/post_deployment_migration
gitlab Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
google_api
haml_lint Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
json_web_token
mattermost
microsoft_teams
omni_auth/strategies
peek
rouge
rspec_flaky
support
system_check Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
tasks Fix slow gitaly dev test bundle 2017-11-21 12:28:02 +00:00
additional_email_headers_interceptor.rb
after_commit_queue.rb
banzai.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
declarative_policy.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
disable_email_interceptor.rb
email_template_interceptor.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb Cache feature names in RequestStore 2017-11-07 22:28:57 +01:00
file_size_validator.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb