I am using Diffusion v5.6.6 to create a mobile app and it is important that the app recovers when clients lose mobile connection and then gain connection again later on. I can see in Connectors.xml there are two settings related to this:
<!-- This is the idle time (no inbound messages) before a
client will be pinged by the server. A response must
be received by Diffusion before the next interval,
else the client is considered to be disconnected. -->
<system-ping-frequency>90s</system-ping-frequency>
and
<reconnect>
<!-- This is the amount of milliseconds a session
will be kept alive after a sudden connection loss. -->
<keep-alive>60000</keep-alive>
</reconnect>
What is the difference between this 90 second ping and the 60 second keep alive?