debian-mirror-gitlab/app/models/ci/build_trace_chunks/redis.rb
2021-09-04 01:27:46 +05:30

13 lines
224 B
Ruby

# 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