mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 15:51:01 +00:00
Unexport DefaultMapSize
This commit is contained in:
parent
7559382115
commit
9fd8cdb007
2 changed files with 3 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ func NewTranslateFile() *TranslateFile {
|
|||
cols: make(map[string]*index),
|
||||
rows: make(map[frameKey]*index),
|
||||
|
||||
MapSize: DefaultMapSize,
|
||||
MapSize: defaultMapSize,
|
||||
|
||||
ReplicationRetryInterval: defaultReplicationRetryInterval,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
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 can only be larger than 2^31 on
|
||||
// 64bit systems.
|
||||
const DefaultMapSize = 10 * (1 << 30) // 10GB
|
||||
const defaultMapSize = 10 * (1 << 30) // 10GB
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue