From bed5696185580d524a27b1b83146110377454131 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 6 Aug 2004 20:46:50 +0000 Subject: [PATCH] Keep track of a whole day of bandwidth, not just 12 hrs svn:r2168 --- src/or/rephist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rephist.c b/src/or/rephist.c index 1f3848b786..1935e1864f 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -310,7 +310,7 @@ void write_rep_history(const char *filename) #endif #define NUM_SECS_ROLLING_MEASURE 10 -#define NUM_SECS_BW_SUM_IS_VALID (12*60*60) /* half a day */ +#define NUM_SECS_BW_SUM_IS_VALID (24*60*60) /* one day */ #define NUM_SECS_BW_SUM_INTERVAL (15*60) #define NUM_TOTALS (NUM_SECS_BW_SUM_IS_VALID/NUM_SECS_BW_SUM_INTERVAL)