diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-24 12:49:34 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-24 12:49:34 +0200 |
commit | a5f23435f7d8b8040ed6b80322ccea3fa8323468 (patch) | |
tree | b42573e97f626add0f7d8e108b82a89de2ea3364 /doc_styleguide.md | |
parent | c83bbfa79e6cfaefc21b0eaaa93370d8748e9aab (diff) | |
download | gitlab-ce-a5f23435f7d8b8040ed6b80322ccea3fa8323468.tar.gz |
Improve performance for issue#show page
* store @participants in variable
* store result of subscribed? call into variable
In total it reduce amount of SQL queries for issue with 10 comments/participants twice.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc_styleguide.md')
0 files changed, 0 insertions, 0 deletions