Chatwoot/config/initializers/redis.rb
2019-08-26 08:42:17 +05:30

11 lines
349 B
Ruby

#for reports
#TODO fix the redis config
uri = URI.parse("redis://localhost:6379")
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)