debian-mirror-gitlab/app/models/ci/build_trace_chunks/redis.rb
2021-09-04 02:52:04 +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