Log messages processed by signal de-duper. (#1384)
This will get noisy. Will revert once we have some data to analyse.
This commit is contained in:
@@ -83,7 +83,10 @@ func (s *SubscriptionDeduper) Dedupe(participantKey livekit.ParticipantKey, req
|
|||||||
isDupe = s.updateSubscriptionsFromUpdateSubscription(participantKey, msg.Subscription)
|
isDupe = s.updateSubscriptionsFromUpdateSubscription(participantKey, msg.Subscription)
|
||||||
case *livekit.SignalRequest_TrackSetting:
|
case *livekit.SignalRequest_TrackSetting:
|
||||||
isDupe = s.updateSubscriptionsFromUpdateTrackSettings(participantKey, msg.TrackSetting)
|
isDupe = s.updateSubscriptionsFromUpdateTrackSettings(participantKey, msg.TrackSetting)
|
||||||
|
default:
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
s.logger.Infow("subscription deduper received message", "participantKey", participantKey, "update", req.String(), "isDupe", isDupe)
|
||||||
|
|
||||||
return isDupe
|
return isDupe
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user