perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1852306 - /perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Date Sun, 27 Jan 2019 17:47:43 GMT
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;
             }
         }
     }



Mime
View raw message