commit a5f0c456af3cc626ee7e6c96fc6fad3590c1c9f3 Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue Mar 21 15:47:01 2017 +0100
Add OnionPerf instance op-hk.
Implements #21272. --- website/src/org/torproject/metrics/web/GraphServlet.java | 1 + .../src/org/torproject/metrics/web/graphs/GraphParameterChecker.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/website/src/org/torproject/metrics/web/GraphServlet.java b/website/src/org/torproject/metrics/web/GraphServlet.java index 8b4a4c6..48b0301 100644 --- a/website/src/org/torproject/metrics/web/GraphServlet.java +++ b/website/src/org/torproject/metrics/web/GraphServlet.java @@ -111,6 +111,7 @@ public class GraphServlet extends MetricServlet { { "torperf", "" }, { "moria", "" }, { "siv", "" }, + { "op-hk", "" }, { "op-nl", "" }, { "op-us", "" }}); this.defaultParameters.put("filesize", new String[][] { diff --git a/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java b/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java index 4cdd84f..e8872a7 100644 --- a/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java +++ b/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java @@ -64,8 +64,8 @@ public class GraphParameterChecker { } this.knownParameterValues.put("country", sb.toString()); this.knownParameterValues.put("events", "on,off,points"); - this.knownParameterValues.put("source", "all,siv,moria,torperf,op-nl," - + "op-us"); + this.knownParameterValues.put("source", "all,siv,moria,torperf,op-hk," + + "op-nl,op-us"); this.knownParameterValues.put("filesize", "50kb,1mb,5mb"); this.knownParameterValues.put("transport", "obfs2,obfs3,obfs4," + "websocket,fte,meek,scramblesuit,snowflake,<OR>,<??>,!<OR>");
tor-commits@lists.torproject.org