summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSupriti Singh <supritisingh08@gmail.com>2014-08-21 23:32:07 +0000
committerSupriti Singh <supritisingh08@gmail.com>2014-08-21 23:32:07 +0000
commitcf537e4faf48ae5c99d5dccb27fa628dd1df02c6 (patch)
tree7ca33d346b9f3763298e83a42e0b643aa004adf4 /src
parent66f81dd0d04265f086b2474b264a468e6a80d4bb (diff)
Commented out Exponential Backoff
Diffstat (limited to 'src')
-rw-r--r--src/dht/gnunet-service-xdht_neighbours.c8
-rw-r--r--src/dht/gnunet_dht_profiler.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/dht/gnunet-service-xdht_neighbours.c b/src/dht/gnunet-service-xdht_neighbours.c
index e8354a86f..08ed33ce7 100644
--- a/src/dht/gnunet-service-xdht_neighbours.c
+++ b/src/dht/gnunet-service-xdht_neighbours.c
@@ -3328,8 +3328,8 @@ finger_table_add (struct GNUNET_PeerIdentity finger_identity,
if (0 == GNUNET_CRYPTO_cmp_peer_identity (&finger_identity,
&successor->finger_identity))
{
- find_finger_trail_task_next_send_time =
- GNUNET_TIME_STD_BACKOFF(find_finger_trail_task_next_send_time);
+// find_finger_trail_task_next_send_time =
+// GNUNET_TIME_STD_BACKOFF(find_finger_trail_task_next_send_time);
current_search_finger_index = 0;
GNUNET_STATISTICS_update (GDS_stats,
gettext_noop
@@ -4980,8 +4980,8 @@ handle_dht_p2p_verify_successor_result(void *cls,
if(0 == (GNUNET_CRYPTO_cmp_peer_identity (&querying_peer, &my_identity)))
{
/* As we completed one round of verify successor, we can do backoff. */
- verify_successor_next_send_time =
- GNUNET_TIME_STD_BACKOFF(verify_successor_next_send_time);
+// verify_successor_next_send_time =
+// GNUNET_TIME_STD_BACKOFF(verify_successor_next_send_time);
compare_and_update_successor (current_successor,
probable_successor, trail, trail_length);
return GNUNET_OK;
diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c
index 2a782c232..a884f31f8 100644
--- a/src/dht/gnunet_dht_profiler.c
+++ b/src/dht/gnunet_dht_profiler.c
@@ -717,10 +717,10 @@ dht_connected (void *cls,
switch (mode)
{
case MODE_PUT:
- ac->delay_task = GNUNET_SCHEDULER_add_delayed (delay, &delayed_put, ac);
+ ac->delay_task = GNUNET_SCHEDULER_add_delayed (delay_put, &delayed_put, ac);
break;
case MODE_GET:
- ac->delay_task = GNUNET_SCHEDULER_add_delayed (delay, &delayed_get, ac);
+ ac->delay_task = GNUNET_SCHEDULER_add_delayed (delay_get, &delayed_get, ac);
break;
}
}