mirror of
https://github.com/livekit/livekit.git
synced 2026-04-02 19:25:41 +00:00
Do not sample per participant to reduce memory usage
This commit is contained in:
@@ -140,7 +140,7 @@ func LoggerWithParticipant(l logger.Logger, identity livekit.ParticipantIdentity
|
||||
}
|
||||
values = append(values, "remote", isRemote)
|
||||
// enable sampling per participant
|
||||
return l.WithItemSampler().WithValues(values...)
|
||||
return l.WithValues(values...)
|
||||
}
|
||||
|
||||
func LoggerWithRoom(l logger.Logger, name livekit.RoomName, roomID livekit.RoomID) logger.Logger {
|
||||
|
||||
Reference in New Issue
Block a user