Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e59d5b0487
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (19 sloc) 0.57 kb
package Angelos::Test::Benchmark::ModPerl::TestRunPerl;
use strict;
use warnings;
use base qw(Apache::TestRunPerl);
sub new_test_config {
my $self = shift;
my $maxclients = $ENV{APACHE_MAXCLIENTS} || 2;
$self->{conf_opts}->{maxclients} = $maxclients;
my $minclients = $ENV{APACHE_MINCLIENTS} || 1;
$self->{conf_opts}->{minclients} = $minclients;
print STDERR <<EOM;
Generating config with the following custom settings
MaxClients: $maxclients
MinClients: $minclients
EOM
return $self->SUPER::new_test_config;
}
1;
__END__
Jump to Line
Something went wrong with that request. Please try again.