diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2016-03-17 21:23:26 -0700 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2016-03-17 21:23:36 -0700 |
commit | 265b7572c9bff39e3d122266dfc693f74ff44664 (patch) | |
tree | d8b19a0a183c08b56a667e20e7b147fa3316b694 /actioncable/lib/action_cable/subscription_adapter | |
parent | 47c0a3990a44bbf678e06605eb77f000147dac70 (diff) | |
download | rails-265b7572c9bff39e3d122266dfc693f74ff44664.tar.gz rails-265b7572c9bff39e3d122266dfc693f74ff44664.tar.bz2 rails-265b7572c9bff39e3d122266dfc693f74ff44664.zip |
Evented Redis adapter: log reconnect failures as errors, not just info
[ci skip]
Diffstat (limited to 'actioncable/lib/action_cable/subscription_adapter')
-rw-r--r-- | actioncable/lib/action_cable/subscription_adapter/evented_redis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb b/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb index e6c862959b..256876cf30 100644 --- a/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb +++ b/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb @@ -51,7 +51,7 @@ module ActionCable @redis_connection_for_subscriptions || @server.mutex.synchronize do @redis_connection_for_subscriptions ||= self.class.em_redis_connector.call(@server.config.cable).tap do |redis| redis.on(:reconnect_failed) do - @logger.info "[ActionCable] Redis reconnect failed." + @logger.error "[ActionCable] Redis reconnect failed." end end end |