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/app
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-04-11 02:11:00 +0300
committerRobert Speicher <robert@gitlab.com>2017-04-11 02:11:00 +0300
commit100f4370764f11ae9d235791f6d5a0f8a402d5b0 (patch)
treec032250bb6050943fc6ba5c67d5567e1c0544391 /app
parent84da388d43d6cc0886b6722822d4e24d380e4a13 (diff)
parent9f8ae20fc4380a24968e2444561aaa3402110a35 (diff)
Merge branch 'fix_cache_expiration_in_repository' into 'master'
Fix redundant cache expiration in Repository Closes #30146 See merge request !10575
Diffstat (limited to 'app')
-rw-r--r--app/models/repository.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index f4c51cdfdf4..526ab1e77a7 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -407,8 +407,6 @@ class Repository
# Runs code after a repository has been forked/imported.
def after_import
expire_content_cache
- expire_tags_cache
- expire_branches_cache
end
# Runs code after a new commit has been pushed.