diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-03-17 17:52:19 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-03-17 21:43:38 +0100 |
commit | 3d7feeede32a81df06f80f6f3599bfe62aa6e13d (patch) | |
tree | da8e9543885f74ab4172f677e2e39b9ea154997a /spec/models/repository_spec.rb | |
parent | 81d191ede9eed2ef63d772a40038679944d8fd69 (diff) | |
download | gitlab-ce-3d7feeede32a81df06f80f6f3599bfe62aa6e13d.tar.gz |
Don't rebuild diverging commit count caches
When calling Repository#build_cache we _don't_ want to build the
diverging commit count cache as doing so can be _very_ slow for
repositories with lots of branches. Because these caches are built
whenever needed (= when actually viewing the list of branches in the web
UI) we can safely remove this code from
Repository#build_cache.
Diffstat (limited to 'spec/models/repository_spec.rb')
0 files changed, 0 insertions, 0 deletions