subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r934917 - /subversion/trunk/win-tests.py
Date Fri, 16 Apr 2010 14:29:32 GMT
Author: rhuijben
Date: Fri Apr 16 14:29:31 2010
New Revision: 934917

URL: http://svn.apache.org/viewvc?rev=934917&view=rev
Log:
* win-tests.py
  (Httpd.__init__): Reduce the number of threads in the httpd instance
    used for running tests on Windows to 16 to make debugging and profiling
    a bit easier.

Modified:
    subversion/trunk/win-tests.py

Modified: subversion/trunk/win-tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/win-tests.py?rev=934917&r1=934916&r2=934917&view=diff
==============================================================================
--- subversion/trunk/win-tests.py (original)
+++ subversion/trunk/win-tests.py Fri Apr 16 14:29:31 2010
@@ -435,6 +435,11 @@ class Httpd:
     # Create httpd config file
     fp = open(self.httpd_config, 'w')
 
+    # Limit the number of threads (default = 64)
+    fp.write('<IfModule mpm_winnt.c>\n')
+    fp.write('ThreadsPerChild 16\n')
+    fp.write('</IfModule>\n')
+
     # Global Environment
     fp.write('ServerRoot   ' + self._quote(self.root) + '\n')
     fp.write('DocumentRoot ' + self._quote(self.root) + '\n')



Mime
View raw message