7f4452d406
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.
5 lines
117 B
YAML
5 lines
117 B
YAML
---
|
|
title: Mitigate N+1 queries when parsing commit references in comments.
|
|
merge_request:
|
|
author:
|
|
type: performance
|