1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Log if redis connection is in stale/failed state.

This commit is contained in:
Vipul A M 2016-04-21 22:13:55 +05:30
parent 81f4a7dce4
commit e7f921d405

View file

@ -53,6 +53,10 @@ module ActionCable
redis.on(:reconnect_failed) do
@logger.error "[ActionCable] Redis reconnect failed."
end
redis.on(:failed) do
@logger.error "[ActionCable] Redis connection has failed."
end
end
end
end