gitlab-org--gitlab-foss/changelogs/unreleased/load_project_features.yml
Jan Provaznik 7f4452d406 Preload project features in reference parser
Preloading of project_features mitigates N+1 queries when checking
references in other projects.

When loading projects for resources referenced in comments it
makes sense to include also associated project_features because
in the following step (`can_read_reference?(user, projects[node],
node)`) project features is used for checking permissions for the given
project.
2018-09-30 20:03:43 +02:00

5 lines
117 B
YAML

---
title: Mitigate N+1 queries when parsing commit references in comments.
merge_request:
author:
type: performance