If Redis connection is dead
We've implemented a logic which will take first available REDIS connection from the available pool of connection strings.
ENV['REDIS_URL'] now may contain multiple connection strings which are separated by -- (double dash).
So if the values in REDIS_URL are conn_str1 and conn_str2, conn_str1 will be used first. If it fails to connect, second one will be picked. In case of Redis connection is dead, please restart the application, since the initialization logic is located at config/application.rb which is being read at the start of the application.
Notifications about unsuccessful connections will be sent to the Slack's #redis_selector_manager channel.
The logic is in the lib/redis_connection_selector.rb.