Skip to content

Commit

Permalink
set EmptyTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Oct 21, 2024
1 parent 15d9b43 commit 1283640
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/create_room.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ func SetDefaultRoomSettings(s *RoomDefaultSettings, r *plugnmeet.CreateRoomReq)
}
}

if r.EmptyTimeout == nil || *r.EmptyTimeout < 120 {
var et uint32 = 1800 // 1800 seconds = 30 minutes
r.EmptyTimeout = &et
}

// at present, we will allow max 16 rooms
var maxNum uint32 = 16
if s.MaxNumBreakoutRooms == nil {
Expand Down

0 comments on commit 1283640

Please sign in to comment.