[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Keep track of a whole day of bandwidth, not just 12 hrs



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv24147/src/or

Modified Files:
	rephist.c 
Log Message:
Keep track of a whole day of bandwidth, not just 12 hrs

Index: rephist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rephist.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- rephist.c	3 Aug 2004 23:57:05 -0000	1.18
+++ rephist.c	6 Aug 2004 20:46:50 -0000	1.19
@@ -310,7 +310,7 @@
 #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)