sqlite storage: Set mmap_size to a very large size
Seems to fall back to ~2GiB on my system.
This commit is contained in:
parent
b75ebbf9e7
commit
ba70ad9b41
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue