gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5563 - GNUnet/src/server


From: gnunet
Subject: [GNUnet-SVN] r5563 - GNUnet/src/server
Date: Wed, 29 Aug 2007 03:08:01 -0600 (MDT)

Author: grothoff
Date: 2007-08-29 03:08:00 -0600 (Wed, 29 Aug 2007)
New Revision: 5563

Modified:
   GNUnet/src/server/connection.c
Log:
min target should be 8

Modified: GNUnet/src/server/connection.c
===================================================================
--- GNUnet/src/server/connection.c      2007-08-29 09:03:55 UTC (rev 5562)
+++ GNUnet/src/server/connection.c      2007-08-29 09:08:00 UTC (rev 5563)
@@ -3384,8 +3384,8 @@
       max_bpm = new_max_bpm;
       newMAXHOSTS = max_bpm / (MIN_BPM_PER_PEER * 4);
       /* => for 1000 bps, we get 12 (rounded DOWN to 8) connections! */
-      if (newMAXHOSTS < 4)
-        newMAXHOSTS = 4;        /* strict minimum is 4 (must match 
bootstrap.c!) */
+      if (newMAXHOSTS < 8)
+        newMAXHOSTS = 8;        /* strict minimum is 8 (must, divided by 2, 
match bootstrap.c!) */
       if (newMAXHOSTS > 256)
         newMAXHOSTS = 256;      /* limit, otherwise we run out of sockets! */
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]