add cleanInstanceCache

This commit is contained in:
pa
2026-01-20 23:52:46 +09:00
committed by Natsumi
parent ecbb0612ec
commit f8daa6ff4c
2 changed files with 28 additions and 1 deletions

View File

@@ -411,7 +411,7 @@ export const useUserStore = defineStore('User', () => {
* @param {Map<string, any>} friendMap
*/
function cleanupUserCache(userCache, friendMap) {
const bufferSize = 200;
const bufferSize = 300;
const currentFriendCount = friendMap.size;
const currentTotalSize = userCache.size;