Commit 00c3bdf8 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'unlink-repository-set-cache' into 'master'

Use UNLINK to remove old repository set caches

See merge request gitlab-org/gitlab!40719
parents 54bf54d8 4ed4ff59
...@@ -22,7 +22,7 @@ module Gitlab ...@@ -22,7 +22,7 @@ module Gitlab
with do |redis| with do |redis|
redis.multi do redis.multi do
redis.del(full_key) redis.unlink(full_key)
# Splitting into groups of 1000 prevents us from creating a too-long # Splitting into groups of 1000 prevents us from creating a too-long
# Redis command # Redis command
......
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