From 800975200adbe0d31218426f0b8707f265ea79c4 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Sat, 22 Feb 2014 11:13:59 -0800 Subject: [PATCH] consul: Increase network timeout value --- consul/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/server.go b/consul/server.go index 970025db6a..9d85544a4d 100644 --- a/consul/server.go +++ b/consul/server.go @@ -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