diff --git a/weed/server/raft_server.go b/weed/server/raft_server.go index 01ca41aac..2cc8252b8 100644 --- a/weed/server/raft_server.go +++ b/weed/server/raft_server.go @@ -42,7 +42,7 @@ func NewRaftServer(r *mux.Router, peers []string, httpAddr string, dataDir strin raft.RegisterCommand(&topology.MaxVolumeIdCommand{}) var err error - transporter := raft.NewHTTPTransporter("/cluster", 0) + transporter := raft.NewHTTPTransporter("/cluster", time.Second) transporter.Transport.MaxIdleConnsPerHost = 1024 glog.V(0).Infof("Starting RaftServer with %v", httpAddr)