Skip to content

Commit 88a449a

Browse files
committed
Use journal_mode=MEMORY
1 parent 385b33d commit 88a449a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sqlitestore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var pragmas = [
99
'PRAGMA main.locking_mode=EXCLUSIVE',
1010
'PRAGMA main.synchronous=OFF', // more dangerous, but fast
1111
'PRAGMA mmap_size=1099511627776', // use fast mmap for entire db
12+
'PRAGMA journal_mode=MEMORY', // live risky but fast
1213
//'PRAGMA main.synchronous=NORMAL',
1314
//'PRAGMA main.journal_mode=WAL', // WAL is annoying for distributed files
1415
];

0 commit comments

Comments
 (0)