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 2013/04/11 17:35:36 UTC

svn commit: r1466925 - /subversion/trunk/subversion/svnserve/svnserve.c

Author: stefan2
Date: Thu Apr 11 15:35:36 2013
New Revision: 1466925

URL: http://svn.apache.org/r1466925
Log:
Follow-up to r1466918: toggle bandwidth threshold condition.

* subversion/svnserve/svnserve.c
  (main): optimize when it's *at least* 1Gb/s

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=1466925&r1=1466924&r2=1466925&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/svnserve.c (original)
+++ subversion/trunk/subversion/svnserve/svnserve.c Thu Apr 11 15:35:36 2013
@@ -669,7 +669,7 @@ int main(int argc, const char *argv[])
             apr_size_t bandwidth = (apr_size_t)apr_strtoi64(arg, NULL, 0);
 
             /* for slower clients, don't try anything fancy */
-            if (bandwidth < 1000)
+            if (bandwidth >= 1000)
               {
                 /* block other clients for at most 1 ms (at full bandwidth).
                    Note that the send buffer is 16kB anyways. */