diff options
author | Stan Hu <stanhu@gmail.com> | 2016-06-28 19:02:27 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-06-29 13:12:57 +0300 |
commit | e21c7d37c8cd21be1489f6dd445d5efa24e94456 (patch) | |
tree | c89ab8603436945ecc62b45f2dd3dd3b51423cd8 /.rubocop.yml | |
parent | 1023289605f075cef86833ab5c1b0e87d967f69e (diff) |
Reduce overhead and optimize ProjectTeam#max_member_access performance
The previous implementation would load the entire team member list and their
respective attributes. Now we only search for the user's specific
access level.
In gitlab-com/operations#42, this reduces the overall overhead of rendering
the issue from 28% to 20%.
First step of optimizing #19273
Diffstat (limited to '.rubocop.yml')
0 files changed, 0 insertions, 0 deletions