diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-05-25 14:17:12 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-05-25 14:17:12 +0000 |
commit | 1665d1194263ac595cf6ad24cb38d80c7ec446a5 (patch) | |
tree | c40f147606578772d1b8d550a9def32f0160cd2c /src | |
parent | b3d7a56f2a9ed617c6e22c21544a0a6ceb7b2668 (diff) | |
parent | 96b59fc4d3486c06d3661adb34a5d32d5ff8e842 (diff) | |
download | tor-1665d1194263ac595cf6ad24cb38d80c7ec446a5.tar.gz tor-1665d1194263ac595cf6ad24cb38d80c7ec446a5.zip |
Merge remote-tracking branch 'tor-gitlab/mr/388' into main
Diffstat (limited to 'src')
-rw-r--r-- | src/feature/stats/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/stats/rephist.c b/src/feature/stats/rephist.c index 50f6a11ae1..59d5313cc8 100644 --- a/src/feature/stats/rephist.c +++ b/src/feature/stats/rephist.c @@ -731,7 +731,7 @@ rep_hist_downrate_old_runs(time_t now) return stability_last_downrated + STABILITY_INTERVAL; /* Okay, we should downrate the data. By how much? */ - while (stability_last_downrated + STABILITY_INTERVAL < now) { + while (stability_last_downrated + STABILITY_INTERVAL <= now) { stability_last_downrated += STABILITY_INTERVAL; alpha *= STABILITY_ALPHA; } |