SteamManagementIOProcessor
now has a setting that can be used to change the maximum timeout time it will wait for reconnection if a client does not
send a time to wait. Two settings are now available:
c2s { 'urn:xmpp:sm:3' { 'resumption-timeout' = 90 } }
The above setting in config.tdsl
file will change the default timeout period to 90 seconds.
c2s { 'urn:xmpp:sm:3' { 'max-resumption-timeout' = 900 } }
This setting will set the maximum time allowed for stream resumption to 900 seconds. This can be handy if you expect a number of mobile phones to connect to your server and want to avoid duplicate messages being sent back and forth.