diff --git a/sushy_tools/emulator/memoize.py b/sushy_tools/emulator/memoize.py index 6fe9f176..6d7cc7cd 100644 --- a/sushy_tools/emulator/memoize.py +++ b/sushy_tools/emulator/memoize.py @@ -111,6 +111,7 @@ class PersistentDict(MutableMapping): raise TypeError('Dict is not yet persistent') with sqlite3.connect(self._dbpath) as connection: + connection.execute("pragma journal_mode=wal") yield connection.cursor() @_retry