diff --git a/handlers/accesscontrol/access-control.go b/handlers/accesscontrol/access-control.go index 0c3a6a89..f5ff5d04 100644 --- a/handlers/accesscontrol/access-control.go +++ b/handlers/accesscontrol/access-control.go @@ -308,6 +308,7 @@ func (ac *AccessControlHandlersCollection) isAuthorized(ctx context.Context, pla // checkViewerLimit is used to limit viewers per user globally (as configured with Gate API) func (ac *AccessControlHandlersCollection) checkViewerLimit(playbackID string) bool { + glog.Infof("checkViewerLimit playbackID=%s", playbackID) viewerLimitCache.mux.RLock() defer viewerLimitCache.mux.RUnlock() @@ -338,6 +339,7 @@ func (ac *AccessControlHandlersCollection) checkViewerLimit(playbackID string) b } func (ac *AccessControlHandlersCollection) refreshConcurrentViewerCache(playbackID string) { + glog.Infof("refreshConcurrentViewerCache playbackID=%s", playbackID) viewerLimitCache.mux.RLock() viewerLimit, ok := viewerLimitCache.data[playbackID] viewerLimitCache.mux.RUnlock()