Skip to content

Collect all users by single query when using Member#add_users

username-removed-444 requested to merge dz-improve-add-users-method into master

What does this MR do?

Collect all users by single query when using Member#add_users

Are there points in the code the reviewer needs to double check?

no

Why was this MR needed?

To reduce amount of sql queries when add multiple users to Group or Project

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/27148

Merge request reports