Fix N+1 problem for system notes metadata association
Follow-up for https://gitlab.com/gitlab-org/gitlab/-/issues/347407 In previous MR I added a permission verification when user requests the list of participants. But it increased the number of db queries. I found that system notes metadata association does not preload the object and that generates additional queries. Changelog: fixed
Showing
Please register or sign in to comment