mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Merge branch 'develop' into deadcode
This commit is contained in:
commit
6bb5bf2602
3 changed files with 13 additions and 2 deletions
|
|
@ -24,8 +24,6 @@ const (
|
|||
)
|
||||
|
||||
const (
|
||||
DefaultMapSize = 10 * (1 << 30) // 10GB
|
||||
|
||||
DefaultReplicationRetryInterval = 1 * time.Second
|
||||
)
|
||||
|
||||
|
|
|
|||
5
translate_mapsize_386.go
Normal file
5
translate_mapsize_386.go
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
package pilosa
|
||||
|
||||
// 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
|
||||
8
translate_mapsize_all64bitsystems.go
Normal file
8
translate_mapsize_all64bitsystems.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// +build !386
|
||||
|
||||
package pilosa
|
||||
|
||||
// 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
|
||||
Loading…
Add table
Reference in a new issue