Before, the `finally` block would always call `_insert_done()`, which writes out the `vdb_*` and `kv_store_*` files ... even if there was nothing to insert (because all docs had already been inserted). This was causing the speed of skippable inserts to become very slow as the graph grew. |
||
|---|---|---|
| .. | ||
| kg | ||
| __init__.py | ||
| base.py | ||
| lightrag.py | ||
| llm.py | ||
| operate.py | ||
| prompt.py | ||
| storage.py | ||
| utils.py | ||