mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Use exponential backoffs for certificate downloads
This commit is contained in:
parent
5104e5645f
commit
36d45a9f64
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user