降低弹幕id缓存校验阈值

This commit is contained in:
小白猿
2023-04-01 00:22:34 +08:00
parent 4cca3e2212
commit 8d47f50eed
+2 -2
View File
@@ -159,7 +159,7 @@ namespace BarrageGrab
}
else
{
msgIdList = new List<long>(1000);
msgIdList = new List<long>(320);
msgDic.Add(msg.Method, msgIdList);
}
if (msgIdList.Contains(msg.msgId))
@@ -168,7 +168,7 @@ namespace BarrageGrab
}
msgIdList.Add(msg.msgId);
if (msgIdList.Count > 990) msgIdList.RemoveAt(0);
if (msgIdList.Count > 300) msgIdList.RemoveAt(0);
try
{