consul: Set maximum consul DB size to 128MB

pull/19/head
Armon Dadgar 11 years ago
parent 32e500e012
commit ab5a3d3721

@ -14,7 +14,7 @@ const (
dbNodes = "nodes" dbNodes = "nodes"
dbServices = "services" dbServices = "services"
dbChecks = "checks" dbChecks = "checks"
dbMaxMapSize = 1024 * 1024 * 1024 // 1GB maximum size dbMaxMapSize = 128 * 1024 * 1024 // 128MB maximum size
) )
// The StateStore is responsible for maintaining all the Consul // The StateStore is responsible for maintaining all the Consul

Loading…
Cancel
Save