Merge pull request #1484 from codysoyland/fix-default-map-size-var

Unexport DefaultMapSize on 32-bit
This commit is contained in:
Cody Soyland 2018-07-10 12:55:14 -05:00 committed by GitHub
commit 2d903e329f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
package pilosa
// DefaultMapSize is the default size of mapped memory for the translate store.
// defaultMapSize is the default size of mapped memory for the translate store.
// It is passed as an int to syscall.Mmap and so must be < 2^31
const DefaultMapSize = (1 << 31) - 1 // 2GB
const defaultMapSize = (1 << 31) - 1 // 2GB