[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18380 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18380 - gnunet/src/mesh |
Date: |
Tue, 29 Nov 2011 17:34:20 +0100 |
Author: bartpolot
Date: 2011-11-29 17:34:20 +0100 (Tue, 29 Nov 2011)
New Revision: 18380
Modified:
gnunet/src/mesh/test_mesh_small.c
Log:
- Use #defined constant, not direct numbers
Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c 2011-11-29 16:17:28 UTC (rev 18379)
+++ gnunet/src/mesh/test_mesh_small.c 2011-11-29 16:34:20 UTC (rev 18380)
@@ -475,14 +475,12 @@
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: add peer 2\n");
GNUNET_MESH_peer_request_connect_add (t, &d2->id);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "***************** test: schedule timeout in 30s\n");
+ "***************** test: schedule timeout in 90s\n");
if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
{
GNUNET_SCHEDULER_cancel (disconnect_task);
disconnect_task =
- GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
- (GNUNET_TIME_UNIT_SECONDS, 30),
- &disconnect_mesh_peers, NULL);
+ GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers,
NULL);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18380 - gnunet/src/mesh,
gnunet <=