[Rt-commit] r12748 - in rt/branches/3.8-TESTING: etc lib/RT/Interface/Web/Standalone

sartak at bestpractical.com sartak at bestpractical.com
Thu May 29 13:22:22 EDT 2008


Author: sartak
Date: Thu May 29 13:22:20 2008
New Revision: 12748

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/etc/RT_Config.pm.in
   rt/branches/3.8-TESTING/lib/RT/Interface/Web/Standalone/PreFork.pm

Log:
 r61231 at onn:  sartak | 2008-05-29 13:11:21 -0400
 Include "Standalone" in the config variable names for Net::Server


Modified: rt/branches/3.8-TESTING/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.8-TESTING/etc/RT_Config.pm.in	(original)
+++ rt/branches/3.8-TESTING/etc/RT_Config.pm.in	Thu May 29 13:22:20 2008
@@ -597,19 +597,19 @@
 # The absolute minimum and maximum number of servers that will be created to
 # handle requests. Having multiple servers means that serving a slow page will
 # affect other users less.
-Set($MinServers, 1);
-Set($MaxServers, 1);
+Set($StandaloneMinServers, 1);
+Set($StandaloneMaxServers, 1);
 
 # These next two options can be used to scale up and down the number of servers
-# to adjust to load. These two otions will respect the $MinServers and
-# $MaxServers options.
-Set($MinSpareServers, 0);
-Set($MaxSpareServers, 0);
+# to adjust to load. These two otions will respect the $StandaloneMinServers
+# and $StandaloneMaxServers options.
+Set($StandaloneMinSpareServers, 0);
+Set($StandaloneMaxSpareServers, 0);
 
 # This sets the absolute maximum number of requests a single server will serve.
 # Setting this would be useful if, for example, memory usage slowly crawls up
 # every hit.
-#Set($MaxRequests, 50);
+#Set($StandaloneMaxRequests, 50);
 
 # %NetServerOptions is a hash of additional options to use for
 # L<Net::Server/DEFAULT ARGUMENTS>. For example, you could set

Modified: rt/branches/3.8-TESTING/lib/RT/Interface/Web/Standalone/PreFork.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Interface/Web/Standalone/PreFork.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Interface/Web/Standalone/PreFork.pm	Thu May 29 13:22:20 2008
@@ -53,11 +53,11 @@
 use base qw/Net::Server::PreFork/;
 
 my %option_map = (
-    min_servers       => 'MinServers',
-    max_servers       => 'MaxServers',
-    min_spare_servers => 'MinSpareServers',
-    max_spare_servers => 'MaxSpareServers',
-    max_requests      => 'MaxRequests',
+    min_servers       => 'StandaloneMinServers',
+    max_servers       => 'StandaloneMaxServers',
+    min_spare_servers => 'StandaloneMinSpareServers',
+    max_spare_servers => 'StandaloneMaxSpareServers',
+    max_requests      => 'StandaloneMaxRequests',
 );
 
 sub default_values {


More information about the Rt-commit mailing list