From a1f6611da28c3b94bbce8e137c92ff9d350d7d7c Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Sun, 30 Nov 2025 21:57:59 -0800 Subject: [PATCH] Fix typo and change log level --- javascript/gallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/gallery.js b/javascript/gallery.js index 800b3028b..45d38b4c3 100644 --- a/javascript/gallery.js +++ b/javascript/gallery.js @@ -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)