mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Better comments on exponential-backoff related members of download_status_t
This commit is contained in:
parent
1f1df4ab74
commit
5a4ed29f01
1 changed files with 4 additions and 2 deletions
|
@ -2047,8 +2047,10 @@ typedef struct download_status_t {
|
|||
* exponential backoffs? */
|
||||
uint8_t last_backoff_position; /**< number of attempts/failures, depending
|
||||
* on increment_on, when we last recalculated
|
||||
* the delay. */
|
||||
int last_delay_used; /**< last delay used for random exponential backoff */
|
||||
* the delay. Only updated if backoff
|
||||
* == 1. */
|
||||
int last_delay_used; /**< last delay used for random exponential backoff;
|
||||
* only updated if backoff == 1 */
|
||||
} download_status_t;
|
||||
|
||||
/** If n_download_failures is this high, the download can never happen. */
|
||||
|
|
Loading…
Add table
Reference in a new issue