blob: 46f275636e1b637b35def34b43292fe60a8f471b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
module Ci
module BuildTraceChunks
class Redis < RedisBase
private
def with_redis
Gitlab::Redis::SharedState.with { |redis| yield(redis) }
end
end
end
end
|