|
|
@@ -80,7 +80,8 @@ func (c *cluster) bootstrap() error {
|
|
|
m.Flags(),
|
|
|
"--data-dir", c.agents[i].datadir,
|
|
|
"--initial-cluster-token", token,
|
|
|
- "--initial-cluster", clusterStr)
|
|
|
+ "--initial-cluster", clusterStr,
|
|
|
+ "--snapshot-count", "10000")
|
|
|
|
|
|
if _, err := m.Agent.Start(flags...); err != nil {
|
|
|
// cleanup
|