When disconnected, the client tries to reconnect only 2 times
Hi,
I'm currently testing the Lightstreamer Javascript Client and it appears that when the connection is lost, the client will only try to reconnect twice, after that it is stuck at the DISCONNECTED:WILL-RETRY status.
I didnt find anything on the doc about some max-retry attempts options.
See below :
CONNECTING
CONNECTED:STREAM-SENSING
CONNECTED:WS-STREAMING
SUBSCRIBED
STALLED
UNSUBSCRIBED
DISCONNECTED:WILL-RETRY
CONNECTING
DISCONNECTED:WILL-RETRY
I manually disabled my ethernet connection to see how it respond, and after enabling my ethernet again I'm stuck with this status. How can I ensure that my application reconnects if my Internet connection fails for some times ?
PS: Is it possible that the targeted server deletes my security token and so any new connection with the old token will fail ?