2021-02-22 17:27:13 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
Gitlab::Experiment.configure do |config|
|
|
|
|
config.base_class = 'ApplicationExperiment'
|
2021-04-17 20:07:23 +05:30
|
|
|
config.cache = Gitlab::Experiment::Cache::RedisHashStore.new(
|
|
|
|
pool: ->(&block) { Gitlab::Redis::SharedState.with { |redis| block.call(redis) } }
|
|
|
|
)
|
2021-02-22 17:27:13 +05:30
|
|
|
end
|