提交 0a2f93aa 编写于 作者: S Stan Hu

Eliminate N+1 queries referencing issues

To load issue 1, we see that in #38033 that about 835 ms of the
SQL queries were due to loading ProjectFeature. We should be
able to cut this down by eagerly loading this information.

Closes #38033
上级 f0b089cf
---
title: Eliminate N+1 queries referencing issues
merge_request:
author:
type: fixed
......@@ -34,7 +34,8 @@ module Banzai
{ namespace: :owner },
{ group: [:owners, :group_members] },
:invited_groups,
:project_members
:project_members,
:project_feature
]
}
),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册