Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-03-24 17:53:38 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2016-04-04 11:44:35 +0300
commit57bde0ce65caf2cbbb6a57f21435639cdaa06225 (patch)
tree3ed5e29ecdaa249bcde9a6fdb3ee7ab5732d644a /config
parentfee7ad86273b17100d541b68c670a20ca954d673 (diff)
Cache Banzai projects/objects using RequestStore
This was originally suggested by @ayufan and modified to be a bit cleaner and use RequestStore instead of a regular Hash. By caching the output of the two methods involved the number of queries is reduced significantly. For example, for an issue with 200 notes (of which 100 reference a number of merge requests) this cuts down the amount of queries from around 6300 to around 3300.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions