gitlab-org--gitlab-foss/app
Yorick Peterse aef9f1eb94
Cache the number of forks of a project
The number of forks of a project doesn't change very frequently and
running a COUNT(*) every time this information is requested can be quite
expensive. We also end up running such a COUNT(*) query at least twice
on the homepage of a project.

By caching this data and refreshing it when necessary we can reduce
project homepage loading times by around 60 milliseconds (based on the
timings of https://gitlab.com/gitlab-org/gitlab-ce).
2017-08-14 18:00:28 +02:00
..
assets Merge branch '36325-increase-z-index-pipeline-dropdown' into 'master' 2017-08-14 08:22:24 +00:00
controllers Merge branch 'disable-project-export' into 'master' 2017-08-11 17:33:45 +00:00
finders Pending delete projects no longer return 500 error in Admins projects view 2017-08-11 11:45:09 +01:00
helpers Add option to disable project export on instance 2017-08-11 12:22:37 -04:00
mailers
models Cache the number of forks of a project 2017-08-14 18:00:28 +02:00
policies
presenters
serializers Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
services Cache the number of forks of a project 2017-08-14 18:00:28 +02:00
uploaders Make sure uploads for personal snippets are correctly rendered 2017-08-11 18:15:02 +02:00
validators
views fix confidential border issue as well as confidential styles leaking on new MR 2017-08-11 21:55:36 +00:00
workers Merge branch '36119-issuable-workers' into 'master' 2017-08-09 11:54:03 +00:00