Commit 7f711f87 authored by Robert May's avatar Robert May

Swap process book-keeping to UNLINK

Swaps Redis DEL calls to UNLINK for performance.
parent dbc0b89d
......@@ -40,7 +40,7 @@ module Elastic
def clear_tracking!
with_redis do |redis|
Gitlab::Instrumentation::RedisClusterValidator.allow_cross_slot_commands do
redis.del(self::REDIS_SET_KEY, self::REDIS_SCORE_KEY)
redis.unlink(self::REDIS_SET_KEY, self::REDIS_SCORE_KEY)
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