diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 4ebace81f1..a167e20412 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -892,8 +892,10 @@ static void second_elapsed_callback(int fd, short event, void *args) stats_prev_global_write_bucket = global_write_bucket; /* if more than 10s have elapsed, probably the clock jumped: doesn't count. */ - if (seconds_elapsed < 10) + if (seconds_elapsed < 100) stats_n_seconds_working += seconds_elapsed; + else + circuit_note_clock_jumped(seconds_elapsed); assert_all_pending_dns_resolves_ok(); run_scheduled_events(now.tv_sec); |