diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-11 16:54:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-11 16:54:14 -0500 |
commit | eaaa1108a3eb1271ad2c8f3fbb8a6845d24de874 (patch) | |
tree | 2082a197683d25a240200b976e4e725572e96798 /src/or/rephist.c | |
parent | 7e486dd6f7f845c14471b406d6bc7dfa4f593b12 (diff) | |
parent | bc1ea4f470734f7fa22949318a98e286da5cba49 (diff) | |
download | tor-eaaa1108a3eb1271ad2c8f3fbb8a6845d24de874.tar.gz tor-eaaa1108a3eb1271ad2c8f3fbb8a6845d24de874.zip |
Merge branch 'maint-0.2.8' into maint-0.2.9
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 8bcd7396aa..f0bac57898 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1197,9 +1197,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) |