gitlab-org--gitlab-foss/app
Z.J. van de Weg e7a27946ea Eager load award emoji on notes
This commit eager loads the award emoji on both the issues and the MRs.
When loading an issue with 108 comments this reduces the query count by
327 queries. On a merge request with the same amount of comments this
saves 148 queries. The large difference is not clear to me at this
point and the total query count is still huge with 387 and 1034
respectively. The biggest problem however, remains the calculation of
participants.
2016-06-23 20:59:34 +02:00
..
assets Merge branch '18857-new-label-page-needs-work-on-mobile' into 'master' 2016-06-23 05:07:04 +00:00
controllers Merge branch '18755-fix-destroy-project-causes-post_decline_request-to-be-executed' into 'master' 2016-06-22 01:15:29 +00:00
finders Ensure Todos counters doesn't count Todos for projects pending delete 2016-06-17 16:17:43 -03:00
helpers Merge branch 'remove-banzai-pre-process' into 'master' 2016-06-21 18:23:51 +00:00
mailers Fallback to group's owners/masters when a project has none 2016-06-20 12:10:37 +02:00
models Eager load award emoji on notes 2016-06-23 20:59:34 +02:00
services Merge branch 'fix-auto-mr-close' into 'master' 2016-06-22 01:18:12 +00:00
uploaders
validators
views Fix merge requests project settings help link anchor. 2016-06-23 16:49:58 +01:00
workers Merge branch 'repo-check-require-push-events' into 'master' 2016-06-17 19:14:43 +00:00