gitlab-org--gitlab-foss/lib
Yorick Peterse 90be53c5d3
Cache feature names in RequestStore
The GitHub importer (and probably other parts of our code) ends up
calling Feature.persisted? many times (via Gitaly). By storing this data
in RequestStore we can save ourselves _a lot_ of database queries.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/39361
2017-11-07 22:28:57 +01:00
..
api
assets
backup
banzai
bitbucket
constraints
container_registry
declarative_policy
generators/rails/post_deployment_migration
github
gitlab Add returning IDs to Gitlab::Database.bulk_insert 2017-11-07 22:28:57 +01:00
google_api
haml_lint
json_web_token
mattermost
microsoft_teams
omni_auth/strategies
peek
rouge
rspec_flaky
support
system_check
tasks
additional_email_headers_interceptor.rb
after_commit_queue.rb
banzai.rb
declarative_policy.rb
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
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb