Fix: Errors in Heroku deployments (#6182)
Due to 86ca7f4a8d the redis configuration in Heroku deployments was breaking, temporarily reverting the part until we identify a fix.
fixes: #5938
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
Rails.application.reloader.to_prepare do
|
|
||||||
# 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
|
||||||
@@ -13,4 +12,3 @@ Rails.application.reloader.to_prepare do
|
|||||||
config = Rails.env.test? ? MockRedis.new : Redis.new(Redis::Config.app)
|
config = Rails.env.test? ? MockRedis.new : Redis.new(Redis::Config.app)
|
||||||
Redis::Namespace.new('velma', redis: config, warning: true)
|
Redis::Namespace.new('velma', redis: config, warning: true)
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|||||||
Reference in New Issue
Block a user