mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +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 {
|
||||
continue
|
||||
}
|
||||
c.msgSvcCache.Add(strKey, "", time.Second*15)
|
||||
c.msgSvcCache.Add(strKey, "", time.Minute)
|
||||
switch message.Head.MsgType {
|
||||
case 33: // 加群同步
|
||||
groupJoinLock.Lock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user