Unexport DefaultMapSize on 32-bit

This commit is contained in:
Cody Soyland 2018-07-10 12:15:11 -05:00
parent 4689ada100
commit 62e172dbac

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