Browse Source

add another logging line verbosity 2

pull/33/head
bmcquee 10 years ago
parent
commit
7ca10d8dcf
  1. 1
      go/weed/weed_server/raft_server.go

1
go/weed/weed_server/raft_server.go

@ -44,6 +44,7 @@ func NewRaftServer(r *mux.Router, peers []string, httpAddr string, dataDir strin
var err error
transporter := raft.NewHTTPTransporter("/cluster", 0)
transporter.Transport.MaxIdleConnsPerHost = 1024
glog.V(1).Infof("Starting RaftServer with IP:%v:", httpAddr)
s.raftServer, err = raft.NewServer(s.httpAddr, s.dataDir, transporter, nil, topo, "")
if err != nil {

Loading…
Cancel
Save