Merge pull request #2854 from influxdb/bump_raft_timeouts

Increase Raft timeouts during test
pull/2855/head
Philip O'Toole 2015-06-09 12:34:38 -07:00
commit 691051b1e2
1 changed files with 3 additions and 3 deletions

View File

@ -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),
} }
} }