2020-12-10 19:09:41 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
Gitlab::Experiment.configure do |config|
|
2020-12-16 04:10:26 -05:00
|
|
|
config.base_class = 'ApplicationExperiment'
|
2021-02-23 04:10:45 -05:00
|
|
|
config.cache = Gitlab::Experiment::Cache::RedisHashStore.new(
|
|
|
|
pool: ->(&block) { Gitlab::Redis::SharedState.with { |redis| block.call(redis) } }
|
|
|
|
)
|
2020-12-10 19:09:41 -05:00
|
|
|
end
|