[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20149 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20149 - gnunet/src/dht |
Date: |
Wed, 29 Feb 2012 14:25:56 +0100 |
Author: bartpolot
Date: 2012-02-29 14:25:56 +0100 (Wed, 29 Feb 2012)
New Revision: 20149
Modified:
gnunet/src/dht/test_dht_2dtorus.conf
gnunet/src/dht/test_dht_topo.c
Log:
- Adjusted logging level, testing parameters
Modified: gnunet/src/dht/test_dht_2dtorus.conf
===================================================================
--- gnunet/src/dht/test_dht_2dtorus.conf 2012-02-29 13:25:10 UTC (rev
20148)
+++ gnunet/src/dht/test_dht_2dtorus.conf 2012-02-29 13:25:56 UTC (rev
20149)
@@ -65,7 +65,7 @@
CONNECT_ATTEMPTS = 3
DEBUG = YES
HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat
-MAX_CONCURRENT_SSH = 10
+MAX_CONCURRENT_SSH = 20
USE_PROGRESSBARS = YES
PEERGROUP_TIMEOUT = 2400 s
TOPOLOGY_OUTPUT_FILE = 2dtorus_topo_initial
@@ -77,7 +77,7 @@
DELETE_FILES = YES
[test_dht_topo]
-CONNECTION_LIMIT = 16
+CONNECTION_LIMIT = 20
#DATA_OUTPUT_FILE=data_output
Modified: gnunet/src/dht/test_dht_topo.c
===================================================================
--- gnunet/src/dht/test_dht_topo.c 2012-02-29 13:25:10 UTC (rev 20148)
+++ gnunet/src/dht/test_dht_topo.c 2012-02-29 13:25:56 UTC (rev 20149)
@@ -145,17 +145,12 @@
{
if (emsg != NULL)
{
-#if VERBOSE
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Shutdown of peers failed!\n");
-#endif
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Shutdown of peers failed!\n");
ok++;
}
else
{
-#if VERBOSE
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "All peers successfully shut down!\n");
-#endif
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "All peers successfully shut down!\n");
}
GNUNET_CONFIGURATION_destroy (testing_cfg);
}
@@ -164,9 +159,7 @@
static void
shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
-#if VERBOSE
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Ending test.\n");
-#endif
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Ending test.\n");
if (disconnect_task != GNUNET_SCHEDULER_NO_TASK)
{
@@ -185,7 +178,7 @@
{
unsigned int i;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "disconnecting peers\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "disconnecting peers\n");
disconnect_task = GNUNET_SCHEDULER_NO_TASK;
GNUNET_SCHEDULER_cancel (put_task);
if (NULL != get_h)
@@ -313,7 +306,7 @@
{
GNUNET_assert (0);
}
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test_task\ntest: from %s\n",
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test_task\nfrom %s\n",
GNUNET_h2s_full (&o->id.hashPubKey));
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n",
GNUNET_h2s_full (&d->id.hashPubKey));
@@ -474,7 +467,7 @@
}
else
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Problem with new connection (%s)\n", emsg);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20149 - gnunet/src/dht,
gnunet <=