1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +08:00

change msg svc cache time.

This commit is contained in:
Mrs4s 2020-11-16 17:53:53 +08:00
parent 6b9dd7feaa
commit c0ec373de5

View File

@ -281,7 +281,7 @@ func decodeMessageSvcPacket(c *QQClient, _ uint16, payload []byte) (interface{},
if _, ok := c.msgSvcCache.Get(strKey); ok { if _, ok := c.msgSvcCache.Get(strKey); ok {
continue continue
} }
c.msgSvcCache.Add(strKey, "", time.Second*15) c.msgSvcCache.Add(strKey, "", time.Minute)
switch message.Head.MsgType { switch message.Head.MsgType {
case 33: // 加群同步 case 33: // 加群同步
groupJoinLock.Lock() groupJoinLock.Lock()