[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13033 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13033 - gnunet/src/dht |
Date: |
Mon, 20 Sep 2010 13:23:43 +0200 |
Author: nevans
Date: 2010-09-20 13:23:43 +0200 (Mon, 20 Sep 2010)
New Revision: 13033
Modified:
gnunet/src/dht/gnunet-dht-driver.c
Log:
insert new round on first round
Modified: gnunet/src/dht/gnunet-dht-driver.c
===================================================================
--- gnunet/src/dht/gnunet-dht-driver.c 2010-09-20 10:40:28 UTC (rev 13032)
+++ gnunet/src/dht/gnunet-dht-driver.c 2010-09-20 11:23:43 UTC (rev 13033)
@@ -1503,7 +1503,7 @@
}
//timeout = GNUNET_TIME_relative_multiply(seconds_per_peer_start, churn_up >
0 ? churn_up : churn_down);
//timeout = GNUNET_TIME_relative_multiply (seconds_per_peer_start, churn_up
> 0 ? churn_up : churn_down);
- timeout = DEFAULT_TIMEOUT; /* FIXME: Lack of intelligent choice here */
+ timeout = GNUNET_TIME_relative_multiply(DEFAULT_TIMEOUT, 2); /* FIXME: Lack
of intelligent choice here */
find_peer_context = NULL;
if (churn_up > 0) /* Only need to do find peer requests if we turned new
peers on */
{
@@ -2039,6 +2039,8 @@
die_task = GNUNET_SCHEDULER_add_delayed (sched,
GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, num_puts * 2),
&end_badly, "from do puts");
GNUNET_SCHEDULER_add_now (sched, &do_put, all_puts);
+ if (dhtlog_handle != NULL)
+ dhtlog_handle->insert_round(DHT_ROUND_NORMAL, rounds_finished);
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13033 - gnunet/src/dht,
gnunet <=