subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1693930 - /subversion/trunk/subversion/svnserve/svnserve.c
Date Mon, 03 Aug 2015 16:22:23 GMT
Author: stefan2
Date: Mon Aug  3 16:22:23 2015
New Revision: 1693930

URL: http://svn.apache.org/r1693930
Log:
Minor simplification.

* subversion/svnserve/svnserve.c
  (svnserve__option): Combine alternative compile paths by instantiating
                      a already existing macro instead of hard-coding the
                      various alternatives. 

Modified:
    subversion/trunk/subversion/svnserve/svnserve.c

Modified: subversion/trunk/subversion/svnserve/svnserve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/svnserve.c?rev=1693930&r1=1693929&r2=1693930&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/svnserve.c (original)
+++ subversion/trunk/subversion/svnserve/svnserve.c Mon Aug  3 16:22:23 2015
@@ -325,25 +325,14 @@ static const apr_getopt_option_t svnserv
         "Default is 1.\n"
         "                             "
         "[used only with --threads]")},
-#if (APR_SIZEOF_VOIDP <= 4)
     {"max-threads",      SVNSERVE_OPT_MAX_THREADS, 1,
      N_("Maximum number of server threads, even if there\n"
         "                             "
         "are more connections.  Minimum value is 1.\n"
         "                             "
-        "Default is 64.\n"
+        "Default is " APR_STRINGIFY(THREADPOOL_MAX_SIZE) ".\n"
         "                             "
         "[used only with --threads]")},
-#else
-    {"max-threads",      SVNSERVE_OPT_MAX_THREADS, 1,
-     N_("Maximum number of server threads, even if there\n"
-        "                             "
-        "are more connections.  Minimum value is 1.\n"
-        "                             "
-        "Default is 256.\n"
-        "                             "
-        "[used only with --threads]")},
-#endif
 #endif
     {"foreground",        SVNSERVE_OPT_FOREGROUND, 0,
      N_("run in foreground (useful for debugging)\n"



Mime
View raw message