mirror of https://github.com/rails/rails
Log if redis connection is in stale/failed state.
This commit is contained in:
parent
81f4a7dce4
commit
e7f921d405
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue