You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by rj...@apache.org on 2019/01/27 17:47:43 UTC
svn commit: r1852306 - /perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Author: rjung
Date: Sun Jan 27 17:47:42 2019
New Revision: 1852306
URL: http://svn.apache.org/viewvc?rev=1852306&view=rev
Log:
Increase sizing to allow for some proxy backend
processes in keep-alive state.
Modified:
perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Modified: perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestConfig.pm?rev=1852306&r1=1852305&r2=1852306&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfig.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfig.pm Sun Jan 27 17:47:42 2019
@@ -524,6 +524,9 @@ sub configure_proxy {
unless ($vars->{maxclients_preset}) {
$vars->{minclients}++;
$vars->{maxclients}++;
+ #In addition allow for some backend processes
+ #in keep-alive state
+ $vars->{maxclients} += 3;
}
$vars->{proxy} = $self->{vhosts}->{'mod_proxy'}->{hostport};
return $vars->{proxy};
@@ -1409,6 +1412,9 @@ sub check_vars {
unless ($vars->{maxclients_preset}) {
$vars->{minclients}++;
$vars->{maxclients}++;
+ #In addition allow for some backend processes
+ #in keep-alive state
+ $vars->{maxclients} += 3;
}
}
}