Fix typo and change log level

This commit is contained in:
awsr
2025-11-30 21:57:59 -08:00
parent d458ff1073
commit a1f6611da2
+1 -1
View File
@@ -675,7 +675,7 @@ async function thumbCacheCleanup(folder, imgCount, controller) {
maintenanceQueue.enqueue({
signal: controller.signal,
callback: async () => {
debug(`Thumbnail DB cleanup: Checking if "${folder}" neads cleaning`);
log(`Thumbnail DB cleanup: Checking if "${folder}" needs cleaning`);
const t0 = performance.now();
const staticGalleryHashes = new Set(galleryHashes); // External context should be safe since this function run is guarded by AbortController/AbortSignal in the SimpleFunctionQueue
const cachedHashesCount = await idbCount(folder)