mirror of https://github.com/status-im/consul.git
consul: Reduce mmap size on 32bit
This commit is contained in:
parent
cc999e339b
commit
f8fc46dc57
|
@ -35,7 +35,7 @@ const (
|
|||
serfWANSnapshot = "serf/remote.snapshot"
|
||||
raftState = "raft/"
|
||||
snapshotsRetained = 2
|
||||
raftDBSize32bit uint64 = 128 * 1024 * 1024 // Limit Raft log to 128MB
|
||||
raftDBSize32bit uint64 = 64 * 1024 * 1024 // Limit Raft log to 64MB
|
||||
raftDBSize64bit uint64 = 8 * 1024 * 1024 * 1024 // Limit Raft log to 8GB
|
||||
|
||||
// serverRPCCache controls how long we keep an idle connection
|
||||
|
|
|
@ -23,7 +23,7 @@ const (
|
|||
dbSessions = "sessions"
|
||||
dbSessionChecks = "sessionChecks"
|
||||
dbACLs = "acls"
|
||||
dbMaxMapSize32bit uint64 = 512 * 1024 * 1024 // 512MB maximum size
|
||||
dbMaxMapSize32bit uint64 = 128 * 1024 * 1024 // 128MB maximum size
|
||||
dbMaxMapSize64bit uint64 = 32 * 1024 * 1024 * 1024 // 32GB maximum size
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue