refactor: 标准化与提高缓存策略

This commit is contained in:
手瓜一十雪 committed 2025-01-13 20:35:52 +08:00
1 parent 8f93f63d76
commit 38f8c93866
2 files changed
+45 -8

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ class MessageUniqueWrapper {
private readonly msgDataMap: LimitedHashTable<string, number>;
private readonly msgIdMap: LimitedHashTable<string, number>;
constructor(maxMap: number = 1000) {
constructor(maxMap: number = 5000) {
this.msgIdMap = new LimitedHashTable<string, number>(maxMap);
this.msgDataMap = new LimitedHashTable<string, number>(maxMap);
}