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:
parent
6b9dd7feaa
commit
c0ec373de5
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user