commit
f47634ec30
|
@ -38,8 +38,6 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("%#v\n", cfg.Write)
|
|
||||||
|
|
||||||
if *batchSize != 0 {
|
if *batchSize != 0 {
|
||||||
cfg.Write.BatchSize = *batchSize
|
cfg.Write.BatchSize = *batchSize
|
||||||
}
|
}
|
||||||
|
@ -64,8 +62,6 @@ func main() {
|
||||||
cfg.Write.Precision = *precision
|
cfg.Write.Precision = *precision
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("%#v\n", cfg.Write)
|
|
||||||
|
|
||||||
d := make(chan struct{})
|
d := make(chan struct{})
|
||||||
seriesQueryResults := make(chan runner.QueryResults)
|
seriesQueryResults := make(chan runner.QueryResults)
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,6 @@ func Run(cfg *Config, done chan struct{}, ts chan time.Time) (totalPoints int, f
|
||||||
fmt.Println("ERROR: ", err.Error())
|
fmt.Println("ERROR: ", err.Error())
|
||||||
}
|
}
|
||||||
failedRequests += 1
|
failedRequests += 1
|
||||||
//totalPoints -= len(b.Points)
|
|
||||||
totalPoints -= cfg.Write.BatchSize
|
totalPoints -= cfg.Write.BatchSize
|
||||||
lastSuccess = false
|
lastSuccess = false
|
||||||
mu.Unlock()
|
mu.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue