From c7c52f0dc24ebdaf852241b0372d646af951c21b Mon Sep 17 00:00:00 2001 From: lelo Date: Sat, 24 Jan 2026 15:21:20 +0000 Subject: [PATCH] less print --- index_for_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index_for_search.py b/index_for_search.py index 3f0d747..81376e3 100755 --- a/index_for_search.py +++ b/index_for_search.py @@ -154,7 +154,7 @@ def updatefileindex(): raw_folderpath = folder.get("folderpath") norm_folderpath = os.path.normpath(raw_folderpath) # Only log folder names up to 3 levels deep; suppress filenames - log_structure(norm_folderpath, max_depth=3, show_files=False) + log_structure(norm_folderpath, max_depth=1, show_files=False) # Precompute the length of the base folder path (plus one for the separator) base_len = len(norm_folderpath) + 1 # Prefetch hit counts for this basefolder to avoid per-file queries