Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Onionoo
Commits
963fccc5
Commit
963fccc5
authored
Jul 30, 2018
by
Karsten Loesing
Browse files
Remove "1_week" and "1_month" clients graphs.
Implements
#25177
.
parent
f0f57879
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
963fccc5
...
...
@@ -2,6 +2,8 @@
*
Medium changes
-
Extend "version" parameter to support lists and ranges.
-
Remove redundant "1_week" and "1_month" graphs from clients
documents.
# Changes in version 6.2-1.17.1 - 2018-08-17
...
...
src/main/java/org/torproject/onionoo/writer/ClientsDocumentWriter.java
View file @
963fccc5
...
...
@@ -78,22 +78,16 @@ public class ClientsDocumentWriter implements DocumentWriter {
}
private
String
[]
graphNames
=
new
String
[]
{
"1_week"
,
"1_month"
,
"3_months"
,
"1_year"
,
"5_years"
};
private
Period
[]
graphIntervals
=
new
Period
[]
{
Period
.
ofWeeks
(
1
),
Period
.
ofMonths
(
1
),
Period
.
ofMonths
(
3
),
Period
.
ofYears
(
1
),
Period
.
ofYears
(
5
)
};
private
long
[]
dataPointIntervals
=
new
long
[]
{
DateTimeHelper
.
ONE_DAY
,
DateTimeHelper
.
ONE_DAY
,
DateTimeHelper
.
ONE_DAY
,
DateTimeHelper
.
TWO_DAYS
,
DateTimeHelper
.
TEN_DAYS
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment