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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-11 21:10:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-11 21:10:06 +0300
commit7a1895c74ad57da757c02b2675147a5a5e2cfe6d (patch)
tree7204fd4cdecbf1166f1aebca080994fcb7f290cd /lib/gitlab/repository_cache_adapter.rb
parent9dde2726710184f066387d044fce4ae2b3684210 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/repository_cache_adapter.rb')
-rw-r--r--lib/gitlab/repository_cache_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/repository_cache_adapter.rb b/lib/gitlab/repository_cache_adapter.rb
index 688a4a39dba..da8025d2265 100644
--- a/lib/gitlab/repository_cache_adapter.rb
+++ b/lib/gitlab/repository_cache_adapter.rb
@@ -241,7 +241,7 @@ module Gitlab
end
def expire_redis_hash_method_caches(methods)
- methods.each { |name| redis_hash_cache.delete(name) }
+ redis_hash_cache.delete(*methods)
end
# All cached repository methods depend on the existence of a Git repository,