Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Boom's current design is resilient to c > n situation, it still fires n requests and ends. No need to change n silently.

Mehmet Akina2ab02b4cf84
diff --git a/boom.go b/boom.go
index 612d9e5..8810d56 100644
--- a/boom.go
+++ b/boom.go
@@ -98,12 +98,6 @@ func main() {
usageAndExit("n and c cannot be smaller than 1.")
}
- // If total number is smaller than concurrency level,
- // make the total number c.
- if c > n {
- n = c
- }
-
var (
url, method, originalHost string
// Username and password for basic auth