You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/04/16 16:29:32 UTC

svn commit: r934917 - /subversion/trunk/win-tests.py

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')