Increase time allowed for reconnection
This commit is contained in:
parent
a8dac575d5
commit
57c1ea332a
@ -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 > 1000)
|
||||
System.currentTimeMillis() - u.userLeftFlag.leftOn > 30000)
|
||||
} 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