From: Nathan S. Evans Date: Wed, 30 Jun 2010 16:00:46 +0000 (+0000) Subject: give dht service a chance to receive core connect message X-Git-Tag: initial-import-from-subversion-38251~21111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1d49e3fc3af7dbdf08704c9f2420c23c5c2bfac3;p=oweals%2Fgnunet.git give dht service a chance to receive core connect message --- diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index c1472210e..fb00e559c 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c @@ -230,8 +230,8 @@ topology_callback (void *cls, curr_get_ctx.dht_handle = peer1dht; curr_get_ctx.peer = &peer2id; - GNUNET_SCHEDULER_add_now (sched, &do_get, &curr_get_ctx); - //GNUNET_SCHEDULER_add_delayed (sched, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 2), &do_get, &curr_get_ctx); + //GNUNET_SCHEDULER_add_now (sched, &do_get, &curr_get_ctx); + GNUNET_SCHEDULER_add_delayed (sched, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 2), &do_get, &curr_get_ctx); } else if (total_connections + failed_connections == expected_connections) {