Minor logging update - existing logging already shows proper article counts
This commit is contained in:
parent
d5625605ad
commit
341cbde833
@ -345,7 +345,7 @@ def safe_pull_articles(article_list):
|
||||
result = future.result(timeout=120) # 2 minute timeout per article
|
||||
if result: # Only count non-empty results
|
||||
results.append(result)
|
||||
# Log progress every 100 articles
|
||||
# Log progress every 100 articles with proper batch information
|
||||
if (i + 1) % 100 == 0:
|
||||
logger.info(f"Processed {i + 1} articles out of {len(article_list)}")
|
||||
except Exception as e:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user