[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionoo/release] Change 3 month bandwidth graph to 24 hours detail.
commit bc90de89712bff8a62290adfa61667c013380504
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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 };
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits