gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11040 - gnunet/src/topology


From: gnunet
Subject: [GNUnet-SVN] r11040 - gnunet/src/topology
Date: Thu, 22 Apr 2010 16:56:32 +0200

Author: nevans
Date: 2010-04-22 16:56:32 +0200 (Thu, 22 Apr 2010)
New Revision: 11040

Modified:
   gnunet/src/topology/test_gnunet_service_topology.c
Log:
testing

Modified: gnunet/src/topology/test_gnunet_service_topology.c
===================================================================
--- gnunet/src/topology/test_gnunet_service_topology.c  2010-04-22 14:56:18 UTC 
(rev 11039)
+++ gnunet/src/topology/test_gnunet_service_topology.c  2010-04-22 14:56:32 UTC 
(rev 11040)
@@ -33,7 +33,9 @@
  */
 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
 
+#define CONNECT_ATTEMPTS 3
 
+
 static int ok;
 
 static int peers_left;
@@ -106,13 +108,13 @@
       last = d;
       return;
     }
-  GNUNET_TESTING_daemons_connect (last, d, TIMEOUT,
+  GNUNET_TESTING_daemons_connect (last, d, TIMEOUT, CONNECT_ATTEMPTS,
                                  &notify_connect_complete,
                                  NULL);
   if (peers_left == 0)
     {
       /* close circle */
-      GNUNET_TESTING_daemons_connect (d, first, TIMEOUT,
+      GNUNET_TESTING_daemons_connect (d, first, TIMEOUT, CONNECT_ATTEMPTS,
                                      &notify_connect_complete,
                                      NULL);
     }





reply via email to

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