* VRFS-594 - sending heartbeat ack down in response to heartbeat
This commit is contained in:
parent
ba73548616
commit
062a5299b8
|
|
@ -551,6 +551,10 @@ module JamWebsockets
|
|||
end if connection.stale?
|
||||
end
|
||||
|
||||
heartbeat_ack = @message_factory.heartbeat_ack()
|
||||
|
||||
send_to_client(client, heartbeat_ack)
|
||||
|
||||
# send errors to clients in response to heartbeats if rabbitmq is down
|
||||
if !@amqp_connection_manager.connected?
|
||||
error_msg = @message_factory.server_bad_state_error(heartbeat_message_id, "messaging system down")
|
||||
|
|
|
|||
Loading…
Reference in New Issue