Skip to content

Commit

Permalink
enabled WAL for sqlite catalog db
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaushik Ravichandran committed Nov 17, 2023
1 parent 69b39b8 commit bc564ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evadb/catalog/sql_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _enable_sqlite_pragma(dbapi_con, con_record):
# Currently, there are too many connections being made, which is not an
# optimal design. Ideally, we should implement a connection pool for
# better management.
# dbapi_con.execute("pragma journal_mode=WAL")
dbapi_con.execute("pragma journal_mode=WAL")
# dbapi_con.close()

event.listen(self.engine, "connect", _enable_sqlite_pragma)
Expand Down

0 comments on commit bc564ba

Please sign in to comment.