From 62e172dbac559b2950a49165819aaf86932b5b56 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Tue, 10 Jul 2018 12:15:11 -0500 Subject: [PATCH] Unexport DefaultMapSize on 32-bit --- translate_mapsize_386.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translate_mapsize_386.go b/translate_mapsize_386.go index b8beafa13..259b735ac 100644 --- a/translate_mapsize_386.go +++ b/translate_mapsize_386.go @@ -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