mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
@@ -3,8 +3,8 @@ redis = Rails.env.test? ? MockRedis.new : Redis.new(Redis::Config.app)
|
|||||||
# Alfred
|
# Alfred
|
||||||
# Add here as you use it for more features
|
# Add here as you use it for more features
|
||||||
# Used for Round Robin, Conversation Emails & Online Presence
|
# Used for Round Robin, Conversation Emails & Online Presence
|
||||||
$alfred = Redis::Namespace.new('alfred', redis: redis, warning: true)
|
$alfred = ConnectionPool::Wrapper.new(size: 5, timeout: 3) { Redis::Namespace.new('alfred', redis: redis, warning: true) }
|
||||||
|
|
||||||
# Velma : Determined protector
|
# Velma : Determined protector
|
||||||
# used in rack attack
|
# used in rack attack
|
||||||
$velma = Redis::Namespace.new('velma', redis: redis, warning: true)
|
$velma = ConnectionPool::Wrapper.new(size: 5, timeout: 3) { Redis::Namespace.new('velma', redis: redis, warning: true) }
|
||||||
|
|||||||
Reference in New Issue
Block a user