Skip to content
Snippets Groups Projects
Commit 0a2f93aa authored by Stan Hu's avatar Stan Hu
Browse files

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
parent f0b089cf
No related branches found
No related tags found
No related merge requests found
---
title: Eliminate N+1 queries referencing issues
merge_request:
author:
type: fixed
Loading
Loading
@@ -34,7 +34,8 @@ module Banzai
{ namespace: :owner },
{ group: [:owners, :group_members] },
:invited_groups,
:project_members
:project_members,
:project_feature
]
}
),
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment