Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Remove unnecessary code

davidmezzetti82d43beb6304
diff --git a/src/python/txtai/database/duckdb.py b/src/python/txtai/database/duckdb.py
index ef7bd994..d03e743e 100644
--- a/src/python/txtai/database/duckdb.py
+++ b/src/python/txtai/database/duckdb.py
@@ -68,11 +68,6 @@ class DuckDB(FileDB):
connection.execute(FileDB.CREATE_SECTIONS_INDEX)
connection.execute("CHECKPOINT")
- # Delete empty WAL files
- wal = f"{path}.wal"
- if os.path.exists(wal) and os.path.getsize(wal) == 0:
- os.remove(wal)
-
# Start transaction
connection.begin()