From 8284110c55679b7ce7b3922cb0559620b03ca88c Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 28 Apr 2022 18:11:31 +0200 Subject: [PATCH] Fix stoplight not using REDIS_NAMESPACE (#18160) --- config/initializers/stoplight.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/stoplight.rb b/config/initializers/stoplight.rb index 7384b2e9a6..d9ebca76c0 100644 --- a/config/initializers/stoplight.rb +++ b/config/initializers/stoplight.rb @@ -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)]