Keep track of a whole day of bandwidth, not just 12 hrs

svn:r2168
This commit is contained in:
Nick Mathewson 2004-08-06 20:46:50 +00:00
parent ec15c5ab1d
commit bed5696185

View File

@ -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)