Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.1.0
|
Spent time |
2h 15m
|
Related
-
Customers/catapush-s-r-l#5 You are not authorized to access this issue
Issue Votes (0)
Watchers (0)
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()