cherry-pick a9bc3484
This commit is contained in:
parent
4629d24a40
commit
14413cacbc
1 changed files with 1 additions and 1 deletions
|
|
@ -709,7 +709,7 @@ class LightRAG:
|
||||||
|
|
||||||
async def check_and_migrate_data(self):
|
async def check_and_migrate_data(self):
|
||||||
"""Check if data migration is needed and perform migration if necessary"""
|
"""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:
|
try:
|
||||||
# Check if migration is needed:
|
# Check if migration is needed:
|
||||||
# 1. chunk_entity_relation_graph has entities and relations (count > 0)
|
# 1. chunk_entity_relation_graph has entities and relations (count > 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue