Remove enable_logging parameter from data init lock call

This commit is contained in:
yangdx 2025-10-25 11:48:14 +08:00
parent c82485d94d
commit a9bc348446

View file

@ -710,7 +710,7 @@ class LightRAG:
async def check_and_migrate_data(self):
"""Check if data migration is needed and perform migration if necessary"""
async with get_data_init_lock(enable_logging=True):
async with get_data_init_lock():
try:
# Check if migration is needed:
# 1. chunk_entity_relation_graph has entities and relations (count > 0)