b44f9b792b
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
10 lines
379 B
Ruby
10 lines
379 B
Ruby
redis = Rails.env.test? ? MockRedis.new : Redis.new(Redis::Config.app)
|
|
|
|
# Alfred
|
|
# Add here as you use it for more features
|
|
# Used for Round Robin, Conversation Emails & Online Presence
|
|
$alfred = Redis::Namespace.new('alfred', redis: redis, warning: true)
|
|
|
|
# Velma : Determined protector
|
|
# used in rack attack
|
|
$velma = Redis::Namespace.new('velma', redis: redis, warning: true)
|