-
- Downloads
There was a problem fetching the pipeline summary.
Improve performance for merge_request#show page
* store @participants in variable
* store result of subscribed? call into variable
In total it reduce amount of SQL queries for merge_request with 10
comments/participants twice.
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent
a5f23435
No related branches found
No related tags found
Pipeline #
Showing
- app/controllers/projects/merge_requests_controller.rb 2 additions, 0 deletionsapp/controllers/projects/merge_requests_controller.rb
- app/views/projects/merge_requests/show/_context.html.haml 5 additions, 4 deletionsapp/views/projects/merge_requests/show/_context.html.haml
- app/views/projects/merge_requests/show/_participants.html.haml 2 additions, 2 deletions...iews/projects/merge_requests/show/_participants.html.haml
Please register or sign in to comment