Browse Source

Fix stoplight not using REDIS_NAMESPACE (#18160)

closed-social-glitch-2
Claire 2 years ago
committed by GitHub
parent
commit
8284110c55
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/initializers/stoplight.rb

+ 1
- 1
config/initializers/stoplight.rb 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)]

Loading…
Cancel
Save