안쓰는 로그 제거
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user