Merge leveldb subtree

Merge commit '55f90917f519aa124455bd81ab81ff67a1c7fc84' into update-leveldb
This commit is contained in:
MarcoFalke 2018-08-09 11:36:11 -04:00 committed by Jack Grigg
commit cd819bf14b
1 changed files with 2 additions and 2 deletions

View File

@ -585,8 +585,8 @@ static int MaxMmaps() {
if (mmap_limit >= 0) {
return mmap_limit;
}
// Up to 1000 mmaps for 64-bit binaries; none for smaller pointer sizes.
mmap_limit = sizeof(void*) >= 8 ? 1000 : 0;
// Up to 4096 mmaps for 64-bit binaries; none for smaller pointer sizes.
mmap_limit = sizeof(void*) >= 8 ? 4096 : 0;
return mmap_limit;
}