Skip to content

Commit 237b200

Browse files
committed
Enable mmap mode by default
1 parent b28672e commit 237b200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlitestore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var pragmas = [
88
'PRAGMA main.cache_size=10000',
99
'PRAGMA main.locking_mode=EXCLUSIVE',
1010
'PRAGMA main.synchronous=OFF', // more dangerous, but fast
11+
'PRAGMA mmap_size=268435456', // use fast mmap
1112
//'PRAGMA main.synchronous=NORMAL',
1213
//'PRAGMA main.journal_mode=WAL', // WAL is annoying for distributed files
1314
];

0 commit comments

Comments
 (0)