mirror of
https://github.com/livekit/livekit.git
synced 2026-05-19 11:05:22 +00:00
Do not sample per participant to reduce memory usage
This commit is contained in:
+1
-1
@@ -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