Projects tigase _server server-core Issues #678
Allow to set max resumption timeout for Stream Management other than default value for resumption timeout (#678)
Closed
Andrzej Wójcik (Tigase) opened 8 years ago
Due Date
2016-05-26

Allow to set max resumption timeout for Stream Management other than default value for resumption timeout

Andrzej Wójcik (Tigase) commented 8 years ago

Added new property max-resumption-timeout to @StreamManagementIOProcessor@.

Now it is possible to set default resumption timeout used by server if client will not pass how long server should wait for reconnection

c2s/processors/urn\:xmpp\:sm\:3/resumption-timeout[I]=90

and to set maximal timeout which will be allowed by server

c2s/processors/urn\:xmpp\:sm\:3/max-resumption-timeout[I]=900

+Note:+ Before this change maximal resumption timeout value was equal to value of resumption-timeout property and by default was equal to 60 seconds and now is 900 seconds is default value for maximal timeout.

Artur Hefczyc commented 8 years ago

Looks good to me, however, I think that for our mobile client needs we will need the "max" timeout to be set to at least 3,600 seconds.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
4207
Version
tigase-server-7.1.0
Spent time
5h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#678
Please wait...
Page is in error, reload to recover