增加主动清除弹幕缓存

This commit is contained in:
mtvpls
2025-12-10 00:13:08 +08:00
parent af12da4263
commit a5b02ea8d5
6 changed files with 34 additions and 346 deletions

View File

@@ -227,7 +227,9 @@ export async function clearExpiredDanmakuCache(): Promise<number> {
cursor.continue();
} else {
console.log(`已清除 ${deletedCount} 个过期弹幕缓存`);
if (deletedCount > 0) {
console.log(`已清除 ${deletedCount} 个过期弹幕缓存`);
}
resolve(deletedCount);
}
};