diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-03-24 15:53:38 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-04 10:44:35 +0200 |
commit | 57bde0ce65caf2cbbb6a57f21435639cdaa06225 (patch) | |
tree | 3ed5e29ecdaa249bcde9a6fdb3ee7ab5732d644a /Gemfile | |
parent | fee7ad86273b17100d541b68c670a20ca954d673 (diff) | |
download | gitlab-ce-57bde0ce65caf2cbbb6a57f21435639cdaa06225.tar.gz |
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 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ gem 'jquery-rails', '~> 4.0.0' gem 'jquery-scrollto-rails', '~> 1.4.3' gem 'jquery-ui-rails', '~> 5.0.0' gem 'raphael-rails', '~> 2.1.2' -gem 'request_store', '~> 1.2.0' +gem 'request_store', '~> 1.3.0' gem 'select2-rails', '~> 3.5.9' gem 'virtus', '~> 1.0.1' gem 'net-ssh', '~> 3.0.1' |