give default configuration value for QueueCount
This commit is contained in:
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…
Reference in New Issue