File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -356,12 +356,10 @@ def analyze_local_path_sync(
356356 for fut in concurrent .futures .as_completed (futures ):
357357 try :
358358 r = fut .result (timeout = FILE_PROCESSING_TIMEOUT )
359-
359+
360360 # Increment completed counter and check for periodic logging
361361 with counters [2 ]:
362362 counters [1 ] += 1
363- completed_count = counters [1 ]
364- should_log = completed_count % PROGRESS_LOG_INTERVAL == 0
365363
366364 if isinstance (r , dict ):
367365 if r .get ("stored" ):
@@ -370,10 +368,6 @@ def analyze_local_path_sync(
370368 emb_count += 1
371369 if r .get ("skipped" ):
372370 skipped_count += 1
373-
374- # Log periodic progress updates (every 10 files)
375- if should_log :
376- logger .info (f"Progress: { completed_count } /{ total_files } files processed ({ file_count } stored, { emb_count } with embeddings, { skipped_count } skipped)" )
377371 except concurrent .futures .TimeoutError :
378372 logger .error (f"File processing timeout ({ FILE_PROCESSING_TIMEOUT } s exceeded)" )
379373 with counters [2 ]:
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ def init_db(database_path: str) -> None:
6969 CREATE TABLE IF NOT EXISTS files (
7070 id INTEGER PRIMARY KEY AUTOINCREMENT,
7171 path TEXT NOT NULL UNIQUE,
72- content TEXT,
7372 language TEXT,
7473 snippet TEXT,
7574 last_modified REAL,
You can’t perform that action at this time.
0 commit comments