Changed threshold to 100 entries before cleanup

This commit is contained in:
awsr
2025-11-21 05:00:19 -08:00
parent 2f9cf121bc
commit f2eddd7f7d
+1 -1
View File
@@ -564,7 +564,7 @@ async function thumbCacheCleanup() {
.then(keys => keys.length)
.catch(() => 0);
if (idbSize < thumbHashes.size + 200) {
if (idbSize < thumbHashes.size + 100) {
// Don't run when there aren't many excess entries
idbIsCleaning = false;
return;