HTTP load generator, ApacheBench (ab) replacement
Go
Remove dead code
Mehmet Akin86fdf9e2b2d3
diff --git a/commands/boom.go b/commands/boom.goindex 014ad0c..9436f67 100644--- a/commands/boom.go+++ b/commands/boom.go@@ -45,7 +45,6 @@ type Boom struct {end time.Timeresults chan *resultbar *pb.ProgressBar- timeout <-chan time.TimetimedOut boolreport Report}diff --git a/commands/run.go b/commands/run.goindex 0a9898b..2edbb5c 100644--- a/commands/run.go+++ b/commands/run.go@@ -68,8 +68,8 @@ WORKER_LOOP:err: err,}b.bar.Increment()- case <-b.timeout:- b.timedOut = true+ case <-timeout:+ timedOut = true}}}