안쓰는 로그 제거

This commit is contained in:
2023-06-30 18:05:06 +09:00
parent ed6ebc2761
commit 8b74f50a1d

View File

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