We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0058a7 commit c8acc81Copy full SHA for c8acc81
lib/cache/sqlite-cache-store.js
@@ -115,6 +115,11 @@ module.exports = class SqliteCacheStore {
115
this.#db = new DatabaseSync(opts?.location ?? ':memory:')
116
117
this.#db.exec(`
118
+ PRAGMA journal_mode = WAL;
119
+ PRAGMA synchronous = NORMAL;
120
+ PRAGMA temp_store = memory;
121
+ PRAGMA optimize;
122
+
123
CREATE TABLE IF NOT EXISTS cacheInterceptorV${VERSION} (
124
-- Data specific to us
125
id INTEGER PRIMARY KEY AUTOINCREMENT,
0 commit comments