Chatwoot/config/initializers/redis.rb
2019-08-31 04:08:00 +05:30

8 lines
300 B
Ruby

uri = URI.parse(ENV['REDIS_URL'])
redis = Redis.new(:url => uri)
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
$alfred = Redis::Namespace.new("alfred", :redis => redis, :warning => true)