Chatwoot/config/initializers/redis.rb

9 lines
300 B
Ruby
Raw Normal View History

uri = URI.parse(ENV['REDIS_URL'])
2019-08-26 03:12:18 +00:00
redis = Redis.new(:url => uri)
2019-08-21 17:08:08 +00:00
Nightfury.redis = Redis::Namespace.new("reports", redis: redis)
=begin
Alfred - Used currently for Round Robin. Add here as you use it for more features
=end
2019-08-21 17:08:08 +00:00
$alfred = Redis::Namespace.new("alfred", :redis => redis, :warning => true)