mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Patch from Karsten to implement proposal 135 ("Testing Tor Networks").
svn:r15253
This commit is contained in:
+3
-2
@@ -1308,8 +1308,9 @@ dirvote_recalculate_timing(or_options_t *options, time_t now)
|
||||
vote_delay = consensus->vote_seconds;
|
||||
dist_delay = consensus->dist_seconds;
|
||||
} else {
|
||||
interval = DEFAULT_VOTING_INTERVAL_WHEN_NO_CONSENSUS;
|
||||
vote_delay = dist_delay = 300;
|
||||
interval = options->V3AuthInitialVotingInterval;
|
||||
vote_delay = options->V3AuthInitialVoteDelay;
|
||||
dist_delay = options->V3AuthInitialDistDelay;
|
||||
}
|
||||
|
||||
tor_assert(interval > 0);
|
||||
|
||||
Reference in New Issue
Block a user