about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-28 18:11:31 +0200
committerGitHub <noreply@github.com>2022-04-28 18:11:31 +0200
commit8284110c55679b7ce7b3922cb0559620b03ca88c (patch)
tree9745e9d62ff2614bbbc4e12779a5c7d6014cc060 /config/initializers
parent3917353645b91dae04f7d9b81162fead6f73072a (diff)
Fix stoplight not using REDIS_NAMESPACE (#18160)
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/stoplight.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/stoplight.rb b/config/initializers/stoplight.rb
index 7384b2e9a..d9ebca76c 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)]