Permalink
Browse files

Fixed bug with $concurency > $count

  • Loading branch information...
1 parent bbc04aa commit 9807c21e76e249dcbc7516bd278ea68313bc361e @despairr despairr committed Jun 12, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 benchmark.pl
View
4 benchmark.pl
@@ -59,6 +59,10 @@ sub parse_command_line {
"useragent=s" => \$useragent
);
+ if ($concurency > $count) {
+ $concurency = $count;
+ }
+
unless ($url) {
if (@ARGV) {
$url = shift @ARGV;

0 comments on commit 9807c21

Please sign in to comment.