Merge branch 'master' into kd-live

This commit is contained in:
2023-06-30 18:05:16 +09:00

View File

@ -299,8 +299,6 @@ func (sc *AuthCollection) RemoveByAccId(accid primitive.ObjectID) {
sc.lock.Lock() sc.lock.Lock()
defer sc.lock.Unlock() defer sc.lock.Unlock()
logger.Println("AuthCollection.RemoveByAccId :", accid.Hex())
var sk string var sk string
if on, ok := sc.reverseOn[accid]; ok { if on, ok := sc.reverseOn[accid]; ok {
sk = on sk = on
@ -326,8 +324,6 @@ func (sc *AuthCollection) RemoveBySessionKey(sk string, publish bool) (accid pri
sc.lock.Lock() sc.lock.Lock()
defer sc.lock.Unlock() defer sc.lock.Unlock()
logger.Println("AuthCollection.RemoveBySessionKey :", sk, publish)
if publish { if publish {
// 나한테 있든 없든 무조건 publish해야 함 // 나한테 있든 없든 무조건 publish해야 함
sc.SessionRemoved(sk) sc.SessionRemoved(sk)