gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r17153 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r17153 - gnunet/src/mesh
Date: Mon, 3 Oct 2011 19:30:18 +0200

Author: bartpolot
Date: 2011-10-03 19:30:18 +0200 (Mon, 03 Oct 2011)
New Revision: 17153

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
   gnunet/src/mesh/test_mesh_small.conf
   gnunet/src/mesh/test_mesh_small_unicast.c
Log:
Tweaked test configuration and log messages

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2011-10-03 17:01:14 UTC (rev 
17152)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2011-10-03 17:30:18 UTC (rev 
17153)
@@ -1249,7 +1249,7 @@
   GNUNET_free (info);
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              "MESH: %u bytes long create path sent!\n",
+              "MESH: CREATE PATH (%u bytes long) sent!\n",
               size_needed);
   return size_needed;
 }
@@ -1406,6 +1406,7 @@
   GNUNET_free (info);
   /* TODO add signature */
 
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: PATH ACK sent!\n");
   return sizeof (struct GNUNET_MESH_PathACK);
 }
 

Modified: gnunet/src/mesh/test_mesh_small.conf
===================================================================
--- gnunet/src/mesh/test_mesh_small.conf        2011-10-03 17:01:14 UTC (rev 
17152)
+++ gnunet/src/mesh/test_mesh_small.conf        2011-10-03 17:30:18 UTC (rev 
17153)
@@ -13,7 +13,7 @@
 
 [dht]
 DEBUG = NO
-AUTOSTART = YES
+AUTOSTART = NO
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
@@ -76,6 +76,6 @@
 DELETE_FILES = YES
 
 [test_mesh_small]
-WAIT_TIME = 70
-CONNECTION_LIMIT = 10
+WAIT_TIME = 90
+CONNECTION_LIMIT = 16
 DATA_OUTPUT_FILE=data_output

Modified: gnunet/src/mesh/test_mesh_small_unicast.c
===================================================================
--- gnunet/src/mesh/test_mesh_small_unicast.c   2011-10-03 17:01:14 UTC (rev 
17152)
+++ gnunet/src/mesh/test_mesh_small_unicast.c   2011-10-03 17:30:18 UTC (rev 
17153)
@@ -278,7 +278,7 @@
   GNUNET_MESH_peer_request_connect_add(t, &d2->id);
   GNUNET_SCHEDULER_cancel (disconnect_task);
   disconnect_task = GNUNET_SCHEDULER_add_delayed(
-          GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 10),
+          GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30),
                                &disconnect_mesh_peers, NULL);
 }
 




reply via email to

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