give default configuration value for QueueCount

master
Ulric Qin 3 years ago
parent 3921627fa2
commit e00f102703

@ -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)
})

Loading…
Cancel
Save