aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-12 21:13:09 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-18 16:32:17 +0000
commit36d45a9f6448524d70e6fbe0fb16f61ef5b43c1f (patch)
treea5c622deffb66f3d22ac6accff90080a686b30cc /src/or/routerlist.c
parent5104e5645f8bdb2197e57e45eed746470056f0d3 (diff)
downloadtor-36d45a9f6448524d70e6fbe0fb16f61ef5b43c1f.tar.gz
tor-36d45a9f6448524d70e6fbe0fb16f61ef5b43c1f.zip
Use exponential backoffs for certificate downloads
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 6721925b12..9cd5ef171c 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;