diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-12-30 08:34:08 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-12-30 08:34:08 -0700 |
commit | f1153131c915b133220c3e2c6c8805ff3984228b (patch) | |
tree | ddf5b33b5aee10c58f9e27b99ee3577c1208b945 | |
parent | Merge pull request #472 from gyuho/initial_mmap (diff) | |
parent | Update min mmap size in godoc (diff) | |
download | dedo-f1153131c915b133220c3e2c6c8805ff3984228b.tar.gz dedo-f1153131c915b133220c3e2c6c8805ff3984228b.tar.xz |
Merge pull request #471 from rhcarvalho/patch-1
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. |