refactor: Decrease time allowed for reconnection
We are receiving feedback that due to this 30s period that the user remains in the room, if a user exits a breakout room, that user won't be able to re-join it until 30s elapses. More investigation is needed but given that this 30s value is somewhat large, I'm [temporarily] reducing it to 10s. Related #13531
This commit is contained in:
parent
d4457383dc
commit
75a64da3cc
@ -50,7 +50,7 @@ object Users2x {
|
||||
def findAllExpiredUserLeftFlags(users: Users2x, meetingExpireWhenLastUserLeftInMs: Long): Vector[UserState] = {
|
||||
if (meetingExpireWhenLastUserLeftInMs > 0) {
|
||||
users.toVector filter (u => u.userLeftFlag.left && u.userLeftFlag.leftOn != 0 &&
|
||||
System.currentTimeMillis() - u.userLeftFlag.leftOn > 30000)
|
||||
System.currentTimeMillis() - u.userLeftFlag.leftOn > 10000)
|
||||
} else {
|
||||
// When meetingExpireWhenLastUserLeftInMs is set zero we need to
|
||||
// remove user right away to end the meeting as soon as possible.
|
||||
|
Loading…
Reference in New Issue
Block a user