提交 e00f1027 编写于 作者: U Ulric Qin

give default configuration value for QueueCount

上级 3921627f
......@@ -109,6 +109,10 @@ func MustLoad(fpaths ...string) {
C.WriterOpt.QueuePopSize = 1000
}
if C.WriterOpt.QueueCount <= 0 {
C.WriterOpt.QueueCount = 100
}
fmt.Println("heartbeat.ip:", C.Heartbeat.IP)
fmt.Printf("heartbeat.interval: %dms\n", C.Heartbeat.Interval)
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册