Commit 2ab38b7b authored by Robert May's avatar Robert May

Swap ReactiveCacheSetCache to UNLINK

Straight swap from DEL to UNLINK for these large sets.
parent 935a335c
...@@ -20,7 +20,7 @@ module Gitlab ...@@ -20,7 +20,7 @@ module Gitlab
keys << cache_key(key) keys << cache_key(key)
redis.pipelined do redis.pipelined do
keys.each_slice(1000) { |subset| redis.del(*subset) } keys.each_slice(1000) { |subset| redis.unlink(*subset) }
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment