You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/08/03 18:22:23 UTC
svn commit: r1693930 - /subversion/trunk/subversion/svnserve/svnserve.c
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"