mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-07-15 01:33:47 +00:00
change msg svc cache time.
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user