Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.1.0
|
Spent time |
2h 15m
|
Issue Votes (0)
Watchers (0)
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.1.0
|
Spent time |
2h 15m
|
Currently, when opening new connection and session, SessionManager checks all other resource connections, which could cause unwanted results under high connection ratio from the same user.
Proposed changes:
tigase.server.xmppsession.SessionManager#registerNewSession
other sessions should not be tested more often than X (30-60s)STREAM_CLOSED
/STREAM_FINISHED
mark the session as "being closed" and start "closing timer" and skip testing them in.registerNewSession()