forresthopkinsa / StompProtocolAndroid

Websockets on Android
MIT License
11 stars 4 forks source link

heartbeat [10000,10000] how to set? #9

Open joviqiao opened 5 years ago

joviqiao commented 5 years ago

heartbeat [10000,10000] how to set?

forresthopkinsa commented 5 years ago

Why do you want to set your heartbeats that high?

joviqiao commented 5 years ago

Hi @forresthopkinsa , in fact, I can only set it to [0, 10000]. when I was set to airplane mode in Android, the server can not monitor the disconnection event.

server use spring stomp over websocket.

so, I want set it to [10000, 10000], let client send hearbeat.