sqlite storage: Set mmap_size to a very large size

Seems to fall back to ~2GiB on my system.
This commit is contained in:
Matt Joiner 2020-10-30 18:40:47 +11:00
parent b75ebbf9e7
commit ba70ad9b41
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func initConn(conn conn, wal bool) error {
return err
}
}
err = sqlitex.ExecTransient(conn, `pragma mmap_size=1000000000`, nil)
err = sqlitex.ExecTransient(conn, `pragma mmap_size=1000000000000`, nil)
if err != nil {
return err
}