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: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
想要评论请 注册 或 登录