diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-02-20 14:12:56 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-02-20 18:07:40 +0100 |
commit | a10d09ec655d37d22c4ec5cadadaa1bdb6cd2f32 (patch) | |
tree | 50a123aae4c5fa8fc7d2b55484c136d9653fd406 /generator_templates | |
parent | 3eaf8778981a6563809f59aa748fe3bdeace9702 (diff) | |
download | gitlab-ce-a10d09ec655d37d22c4ec5cadadaa1bdb6cd2f32.tar.gz |
Fix N+1 query problem for users on members view.
For each member being rendered on
Projects::ProjectMembersController#index, there was a query to the users
table to retrieve the corresponding user:
```
SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1
```
Diffstat (limited to 'generator_templates')
0 files changed, 0 insertions, 0 deletions