mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Keep track of a whole day of bandwidth, not just 12 hrs
svn:r2168
This commit is contained in:
parent
ec15c5ab1d
commit
bed5696185
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue