3
我使用Diffusion v5.6.6創建移動應用程序,重要的是應用程序在客戶端丟失移動連接時恢復,然後再次獲得連接。我可以在Connectors.xml看到有兩個與此相關的設置:擴散重新連接超時
<!-- 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>
和
<reconnect>
<!-- This is the amount of milliseconds a session
will be kept alive after a sudden connection loss. -->
<keep-alive>60000</keep-alive>
</reconnect>
是什麼這個90第二個ping和60秒保持活着有什麼區別?