Fix stoplight not using REDIS_NAMESPACE (#18160)

lolsob-rspec
Claire 2022-04-28 18:11:31 +02:00 committed by GitHub
parent 553889bc7c
commit 2d9ef045c5
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
require 'stoplight'
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(RedisConfiguration.new.connection)
Stoplight::Light.default_notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]