diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-11 16:54:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-11 16:54:13 -0500 |
commit | b077ccde4e890110ddfa9304d5badf261a2942b9 (patch) | |
tree | 28fe058a9d394926bfbc6d6069d5ba2e111de2fd /src/or/rephist.c | |
parent | 3ec72ef52aa3fa9871335b1713e090e3677987d7 (diff) | |
parent | bc1ea4f470734f7fa22949318a98e286da5cba49 (diff) | |
download | tor-b077ccde4e890110ddfa9304d5badf261a2942b9.tar.gz tor-b077ccde4e890110ddfa9304d5badf261a2942b9.zip |
Merge branch 'maint-0.2.8' into release-0.2.8
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 04ed7aef0f..651fd43ade 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1131,9 +1131,9 @@ rep_hist_load_mtbf_data(time_t now) * totals? */ #define NUM_SECS_ROLLING_MEASURE 10 /** How large are the intervals for which we track and report bandwidth use? */ -#define NUM_SECS_BW_SUM_INTERVAL (4*60*60) +#define NUM_SECS_BW_SUM_INTERVAL (24*60*60) /** How far in the past do we remember and publish bandwidth use? */ -#define NUM_SECS_BW_SUM_IS_VALID (24*60*60) +#define NUM_SECS_BW_SUM_IS_VALID (5*24*60*60) /** How many bandwidth usage intervals do we remember? (derived) */ #define NUM_TOTALS (NUM_SECS_BW_SUM_IS_VALID/NUM_SECS_BW_SUM_INTERVAL) |