mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add another logging line verbosity 2
This commit is contained in:
parent
bff7b71389
commit
7ca10d8dcf
|
@ -44,6 +44,7 @@ func NewRaftServer(r *mux.Router, peers []string, httpAddr string, dataDir strin
|
||||||
var err error
|
var err error
|
||||||
transporter := raft.NewHTTPTransporter("/cluster", 0)
|
transporter := raft.NewHTTPTransporter("/cluster", 0)
|
||||||
transporter.Transport.MaxIdleConnsPerHost = 1024
|
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, "")
|
s.raftServer, err = raft.NewServer(s.httpAddr, s.dataDir, transporter, nil, topo, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue