aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 484461a50..bbe48fd05 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -593,7 +593,8 @@ static void run_scheduled_events(time_t now) {
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) {
time_to_check_descriptor = now + CHECK_DESCRIPTOR_INTERVAL;
if (decide_if_publishable_server(now)) {