diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 3719afe58..3ccad90ad 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -844,6 +844,7 @@ run_scheduled_events(time_t now) static time_t time_to_reset_descriptor_failures = 0; static time_t time_to_add_entropy = 0; static time_t time_to_write_hs_statistics = 0; + static time_t time_to_downrate_stability = 0; or_options_t *options = get_options(); int i; int have_dir_info; @@ -931,6 +932,10 @@ run_scheduled_events(time_t now) dirserv_test_reachability(0); } + /** 1d. DOCDOC */ + if (time_to_downrate_stability < now) + time_to_downrate_stability = rep_hist_downrate_old_runs(now); + /** 2. Periodically, we consider getting a new directory, getting a * new running-routers list, and/or force-uploading our descriptor * (if we've passed our internal checks). */ |