ping interval
ping interval
Is it possible to set the time interval for the lag monitor? It seems to be set at 2 seconds between pings, but I'd prefer it to be 5 seconds. I've had a good rummage through all the documentation I could find but can't see any way to adjust the timing for the PING_PONG event.
Re: ping interval
I can guarantee that the bandwidth taken by the ping-pong requests is negligible, plus it works as a keep-alive signal for unstable connections.
Re: ping interval
ok, if you say so... you`re the boss here.Lapo wrote:I can guarantee that the bandwidth taken by the ping-pong requests is negligible, plus it works as a keep-alive signal for unstable connections.
Re: ping interval
I have to add something here.
The latest SFS2X version 2.0.1 provides you with the ability to choose the rate of the lag-monitoring. Default is 4 seconds.
Check the docs for the SmartFox.enableLagMonitor(...) method.
hope it helps
The latest SFS2X version 2.0.1 provides you with the ability to choose the rate of the lag-monitoring. Default is 4 seconds.
Check the docs for the SmartFox.enableLagMonitor(...) method.
hope it helps