gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r21605 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r21605 - gnunet/src/transport
Date: Sun, 27 May 2012 22:46:13 +0200

Author: grothoff
Date: 2012-05-27 22:46:13 +0200 (Sun, 27 May 2012)
New Revision: 21605

Modified:
   gnunet/src/transport/gnunet-service-transport_neighbours.c
Log:
-reduce too high keepalive frequency to more sane levels

Modified: gnunet/src/transport/gnunet-service-transport_neighbours.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_neighbours.c  2012-05-27 
20:14:21 UTC (rev 21604)
+++ gnunet/src/transport/gnunet-service-transport_neighbours.c  2012-05-27 
20:46:13 UTC (rev 21605)
@@ -60,11 +60,11 @@
 /**
  * How often do we send KEEPALIVE messages to each of our neighbours and 
measure
  * the latency with this neighbour?
- * (idle timeout is 5 minutes or 300 seconds, so with 30s interval we
- * send 10 keepalives in each interval, so 10 messages would need to be
+ * (idle timeout is 5 minutes or 300 seconds, so with 100s interval we
+ * send 3 keepalives in each interval, so 3 messages would need to be
  * lost in a row for a disconnect).
  */
-#define KEEPALIVE_FREQUENCY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 30)
+#define KEEPALIVE_FREQUENCY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 100)
 
 /**
  * How long are we willing to wait for a response from ATS before timing out?




reply via email to

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