less print

This commit is contained in:
lelo 2026-01-24 15:21:20 +00:00
parent c8c0db493f
commit c7c52f0dc2

View File

@ -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