Directions for protocol.timeout

jmdiazlr8 years ago

Could any body give advise about configuring [protocol].timeout values ? some rules of thumb?

I have a very bad cell phone in my test, with many "connectivity changed" messages (3-5 between each "position updated" message). The frequency of update 60s, this using wifi o gprs, no difference.

I suppose this is creating many idle connections for too much time... so I would like to set protocol.timeout to release connection sooner.

Thanks.

Anton Tananaev8 years ago

Usually timeout should be slightly higher that frequency of reporting. For example, if your device reports every 5 minutes, you can set timeout to 6 minutes.