Merge pull request #4540 from influxdb/md-cleanup

Remove unneeded lines
pull/4553/head
Michael Desa 2015-10-23 10:12:00 -07:00
commit f47634ec30
2 changed files with 0 additions and 5 deletions

View File

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

View File

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