mirror of
https://github.com/vladmandic/automatic
synced 2026-09-02 11:00:46 +02:00
Changed threshold to 100 entries before cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user