2019-08-30 22:38:00 +00:00
|
|
|
uri = URI.parse(ENV['REDIS_URL'])
|
2019-10-20 08:47:26 +00:00
|
|
|
redis = Rails.env.test? ? MockRedis.new : Redis.new(url: uri)
|
|
|
|
Nightfury.redis = Redis::Namespace.new('reports', redis: redis)
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-20 08:47:26 +00:00
|
|
|
# Alfred - Used currently for Round Robin. Add here as you use it for more features
|
|
|
|
$alfred = Redis::Namespace.new('alfred', redis: redis, warning: true)
|