From b766067f68c0ed277ea72ef262189b4e39dcdc3f Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Thu, 17 Dec 2015 00:17:37 +0100 Subject: [PATCH] Update min mmap size in godoc --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index d5ad715..9953b10 100644 --- a/db.go +++ b/db.go @@ -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.