diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2015-12-17 00:17:37 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2015-12-17 00:19:41 +0100 |
commit | b766067f68c0ed277ea72ef262189b4e39dcdc3f (patch) | |
tree | c14b2a8cdc1b7cfe7c85d52a4e7c6e1510d48922 | |
parent | Merge pull request #470 from ReadmeCritic/master (diff) | |
download | dedo-b766067f68c0ed277ea72ef262189b4e39dcdc3f.tar.gz dedo-b766067f68c0ed277ea72ef262189b4e39dcdc3f.tar.xz |
Update min mmap size in godoc
-rw-r--r-- | db.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -271,7 +271,7 @@ func (db *DB) munmap() error { } // mmapSize determines the appropriate size for the mmap given the current size -// of the database. The minimum size is 1MB and doubles until it reaches 1GB. +// of the database. The minimum size is 32KB and doubles until it reaches 1GB. // Returns an error if the new mmap size is greater than the max allowed. func (db *DB) mmapSize(size int) (int, error) { // Double the size from 32KB until 1GB. |