Disable logging for graph database lock acquisition and release

This commit is contained in:
yangdx
2025-03-09 01:14:24 +08:00
parent c5d0962872
commit 6a969e8de4

View File

@@ -523,7 +523,7 @@ async def extract_entities(
from .kg.shared_storage import get_graph_db_lock from .kg.shared_storage import get_graph_db_lock
graph_db_lock = get_graph_db_lock(enable_logging=True) graph_db_lock = get_graph_db_lock(enable_logging=False)
# Ensure that nodes and edges are merged and upserted atomically # Ensure that nodes and edges are merged and upserted atomically
async with graph_db_lock: async with graph_db_lock: