mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
clean a comment
svn:r2844
This commit is contained in:
parent
23c6d8a926
commit
3f5c113815
@ -593,7 +593,8 @@ static void run_scheduled_events(time_t now) {
|
|||||||
time_to_fetch_directory = now + options->DirFetchPostPeriod;
|
time_to_fetch_directory = now + options->DirFetchPostPeriod;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 2b. Once per minute, regenerate and upload the descriptor if it is wrong */
|
/* 2b. Once per minute, regenerate and upload the descriptor if the old
|
||||||
|
* one is inaccurate. */
|
||||||
if (time_to_check_descriptor < now) {
|
if (time_to_check_descriptor < now) {
|
||||||
time_to_check_descriptor = now + CHECK_DESCRIPTOR_INTERVAL;
|
time_to_check_descriptor = now + CHECK_DESCRIPTOR_INTERVAL;
|
||||||
if (decide_if_publishable_server(now)) {
|
if (decide_if_publishable_server(now)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user