Skip to content

Commit

Permalink
Do not print pipelining factor if it is 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jun 3, 2016
1 parent fae5cbb commit be9b676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autocannon.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function start () {

console.log(`Running ${argv.duration}s test @ ${argv.url}`)
let msg = `${argv.connections} connections`
if (argv.pipelining) {
if (argv.pipelining > 1) {
msg += ` with ${argv.pipelining} pipelining factor`
}
console.log(msg)
Expand Down

0 comments on commit be9b676

Please sign in to comment.