summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-27 10:02:03 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-27 10:02:03 -0500
commitef54610442ee2f2a9143c6c55edb98da19cc3344 (patch)
tree06233d0d9461e7159802c71a4b575090176cc7ea /src/or/rephist.c
parent4bb287aa39d74e99dc319cd0a3fde88419340848 (diff)
parent8be50ca3ea90ac04b8a18c7d9a33f5ec3f3a6e28 (diff)
downloadtor-ef54610442ee2f2a9143c6c55edb98da19cc3344.tar.gz
tor-ef54610442ee2f2a9143c6c55edb98da19cc3344.zip
Merge branch 'ticket23856_025_01' into maint-0.3.2
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 51e800bc31..87b5a93713 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1239,9 +1239,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)