set the journal mode to WAL
1 files changed, 1 insertions(+), 0 deletions(-)

M nosqlite.py
M nosqlite.py +1 -0
@@ 36,6 36,7 @@ class Connection:
         """
         self.db = sqlite3.connect(*args, **kwargs)
         self.db.isolation_level = None
+        self.db.execute("PRAGMA journal_mode=WAL")  # Set the journal mode to WAL
 
     def close(self):
         """