From: Nick Mathewson Date: Fri, 6 Aug 2004 20:46:50 +0000 (+0000) Subject: Keep track of a whole day of bandwidth, not just 12 hrs X-Git-Tag: tor-0.0.8pre3~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bed5696185580d524a27b1b83146110377454131;p=thirdparty%2Ftor.git Keep track of a whole day of bandwidth, not just 12 hrs svn:r2168 --- 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)