aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-07 11:45:24 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-07 11:45:24 -0500
commit7dd852835c24a2db1cc4751f3b9235a8c78bf775 (patch)
tree0fdb31de5657e881980f8949ddcc4b73f42d516b /src/or/rephist.c
parent79aaad952f4f43a7057c4162ae378d5bad28a77e (diff)
parent6830667d58815219476593901334b2e19554d8af (diff)
downloadtor-7dd852835c24a2db1cc4751f3b9235a8c78bf775.tar.gz
tor-7dd852835c24a2db1cc4751f3b9235a8c78bf775.zip
Merge remote-tracking branch 'public/bug13988_025'
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index bc29378bea..34908828a5 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1131,9 +1131,7 @@ 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? */
-/* XXXX Watch out! Before Tor 0.2.2.21-alpha, using any other value here would
- * generate an unparseable state file. */
-#define NUM_SECS_BW_SUM_INTERVAL (15*60)
+#define NUM_SECS_BW_SUM_INTERVAL (4*60*60)
/** How far in the past do we remember and publish bandwidth use? */
#define NUM_SECS_BW_SUM_IS_VALID (24*60*60)
/** How many bandwidth usage intervals do we remember? (derived) */