[tor-commits] [onionoo/master] Change 3 month bandwidth graph to 24 hours detail.
karsten at torproject.org
karsten at torproject.org
Wed Feb 7 10:19:32 UTC 2018
commit bc90de89712bff8a62290adfa61667c013380504
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Fri Feb 2 15:33:21 2018 +0100
Change 3 month bandwidth graph to 24 hours detail.
Relays and bridges have recently changed their bandwidth statistics
reporting interval from 4 hours to 24 hours. As a result, our 3 month
bandwidth graph cannot accommodate new bandwidth statistics anymore.
Increasing the bandwidth graph interval to 24 hours changes this, by
reducing data resolution from 184 to 92 data points.
Fixes part of #24729.
---
.../java/org/torproject/onionoo/writer/BandwidthDocumentWriter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/torproject/onionoo/writer/BandwidthDocumentWriter.java b/src/main/java/org/torproject/onionoo/writer/BandwidthDocumentWriter.java
index 7089c06..ad66bde 100644
--- a/src/main/java/org/torproject/onionoo/writer/BandwidthDocumentWriter.java
+++ b/src/main/java/org/torproject/onionoo/writer/BandwidthDocumentWriter.java
@@ -83,7 +83,7 @@ public class BandwidthDocumentWriter implements DocumentWriter {
DateTimeHelper.FIFTEEN_MINUTES,
DateTimeHelper.ONE_HOUR,
DateTimeHelper.FOUR_HOURS,
- DateTimeHelper.TWELVE_HOURS,
+ DateTimeHelper.ONE_DAY,
DateTimeHelper.TWO_DAYS,
DateTimeHelper.TEN_DAYS };
More information about the tor-commits
mailing list