Fix stoplight not using REDIS_NAMESPACE (#18160)
This commit is contained in:
		
							parent
							
								
									3917353645
								
							
						
					
					
						commit
						8284110c55
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user