Skip to content

Commit

Permalink
Merge leveldb subtree
Browse files Browse the repository at this point in the history
Merge commit 'ec749b1bcdf2483b642fb51d635800e272c68ba6' into HEAD
  • Loading branch information
MarcoFalke committed Aug 9, 2018
2 parents 8ac7125 + ec749b1 commit fa14fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leveldb/util/env_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fa14fa7

Please sign in to comment.