diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-25 08:14:03 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-25 08:14:03 +0000 |
commit | 0c8b96bdbc5c9f92d7a1e1227498cd2cc00d19ac (patch) | |
tree | 63e9d6828b43e8c4f8d01d137cb1ebb3b8fab50d /lib/api/files.rb | |
parent | d2de219f6cf5d6ce371f529988f9337653878e58 (diff) | |
parent | 82f372c719b7564fa09f23bef1e6d4c61c8ece4b (diff) | |
download | gitlab-ce-0c8b96bdbc5c9f92d7a1e1227498cd2cc00d19ac.tar.gz |
Merge branch 'performance-improvements' into 'master'
Performance improvements
* store @participants in variable
* store result of subscribed? call into variable
In total it reduce amount of SQL queries for issue or merge_request with 10 comments/participants almost twice.
See merge request !883
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions