diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-11 21:10:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-11 21:10:06 +0300 |
commit | 7a1895c74ad57da757c02b2675147a5a5e2cfe6d (patch) | |
tree | 7204fd4cdecbf1166f1aebca080994fcb7f290cd /lib/gitlab/repository_cache_adapter.rb | |
parent | 9dde2726710184f066387d044fce4ae2b3684210 (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.rb | 2 |
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, |