diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-06 20:46:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-06 20:46:50 +0000 |
commit | bed5696185580d524a27b1b83146110377454131 (patch) | |
tree | 695b9d0ce2d52d9fcc2ff8d98223520b37d78175 /src/or/rephist.c | |
parent | ec15c5ab1d12fa154d5aadb0a52dadd37c2c4f84 (diff) | |
download | tor-bed5696185580d524a27b1b83146110377454131.tar.gz tor-bed5696185580d524a27b1b83146110377454131.zip |
Keep track of a whole day of bandwidth, not just 12 hrs
svn:r2168
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |