[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Use exponential backoffs for certificate downloads



commit 36d45a9f6448524d70e6fbe0fb16f61ef5b43c1f
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
Date:   Sun Jun 12 21:13:09 2016 +0000

    Use exponential backoffs for certificate downloads
---
 src/or/routerlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 6721925..9cd5ef1 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -159,7 +159,7 @@ download_status_cert_init(download_status_t *dlstatus)
   dlstatus->schedule = DL_SCHED_CONSENSUS;
   dlstatus->want_authority = DL_WANT_ANY_DIRSERVER;
   dlstatus->increment_on = DL_SCHED_INCREMENT_FAILURE;
-  dlstatus->backoff = DL_SCHED_DETERMINISTIC;
+  dlstatus->backoff = DL_SCHED_RANDOM_EXPONENTIAL;
   dlstatus->last_backoff_position = 0;
   dlstatus->last_delay_used = 0;
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits