consul: Increase network timeout value

This commit is contained in:
Armon Dadgar 2014-02-22 11:13:59 -08:00
parent e54d8f6c07
commit 800975200a
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ func (s *Server) setupRaft() error {
}
// Create a transport layer
trans := raft.NewNetworkTransport(s.raftLayer, 3, 500*time.Millisecond, s.config.LogOutput)
trans := raft.NewNetworkTransport(s.raftLayer, 3, 10*time.Second, s.config.LogOutput)
s.raftTransport = trans
// Setup the peer store