Welcome to mirror list, hosted at ThFree Co, Russian Federation.

redis.rb « build_trace_chunks « ci « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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