diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-03-24 17:53:38 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-04 11:44:35 +0300 |
commit | 57bde0ce65caf2cbbb6a57f21435639cdaa06225 (patch) | |
tree | 3ed5e29ecdaa249bcde9a6fdb3ee7ab5732d644a /config | |
parent | fee7ad86273b17100d541b68c670a20ca954d673 (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