Commit graph

6 commits

Author SHA1 Message Date
gfyoung
ddca49e4b5 Enable frozen string in apps/uploaders/*.rb
Partially addresses #47424.
2018-07-16 06:41:59 -07:00
Felipe Artur
4ab1011d42 Fix refresh cache for open issues count service 2018-06-21 17:34:33 -03:00
Francisco Lopez
c85f9c5b1d Code review comments applied 2017-12-01 18:32:12 +01:00
Francisco Lopez
a2babf32fe More preloading improvement and added batch count services 2017-12-01 18:32:12 +01:00
Brett Walker
e292bf5b88 allow caching options to be specified for counting services 2017-11-30 22:23:07 +00:00
Yorick Peterse
3e561736b2
Cache the number of user SSH keys
By caching the number of personal SSH keys we reduce the number of
queries necessary on pages such as ProjectsController#show (which can
end up querying this data multiple times).

The cache is refreshed/flushed whenever an SSH key is added, removed, or
when a user is removed.
2017-11-16 14:59:38 +01:00