gitlab-org--gitlab-foss/changelogs/unreleased/fix-n-plus-one-queries-for-user-access.yml
Sean McGivern 7f73f440f9 Fix N+1 queries for non-members in comment threads
When getting the max member access for a group of users, we stored the results
in RequestStore. However, this will only return results for project members, so
anyone who wasn't a member of the project would be checked once at the start,
and then once for each comment they made. These queries are generally quite
fast, but no query is faster!
2017-06-01 10:21:26 +01:00

4 lines
85 B
YAML

---
title: Fix N+1 queries for non-members in comment threads
merge_request:
author: