Merge pull request #2854 from influxdb/bump_raft_timeouts
Increase Raft timeouts during testpull/2855/head
commit
691051b1e2
|
@ -652,9 +652,9 @@ func NewConfig(path string) meta.Config {
|
||||||
Dir: path,
|
Dir: path,
|
||||||
Hostname: "localhost",
|
Hostname: "localhost",
|
||||||
BindAddress: "127.0.0.1:0",
|
BindAddress: "127.0.0.1:0",
|
||||||
HeartbeatTimeout: toml.Duration(50 * time.Millisecond),
|
HeartbeatTimeout: toml.Duration(500 * time.Millisecond),
|
||||||
ElectionTimeout: toml.Duration(50 * time.Millisecond),
|
ElectionTimeout: toml.Duration(500 * time.Millisecond),
|
||||||
LeaderLeaseTimeout: toml.Duration(50 * time.Millisecond),
|
LeaderLeaseTimeout: toml.Duration(500 * time.Millisecond),
|
||||||
CommitTimeout: toml.Duration(5 * time.Millisecond),
|
CommitTimeout: toml.Duration(5 * time.Millisecond),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue