commit 5a26a2cfef46111b66eb8492abb8743313509c22 Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed Sep 18 14:10:23 2013 +0200
Cut off last two days from new user estimate graphs.
We found out in #8462 that "we can make our very first guess about Tor users on a given day by the evening of that day and will have credible numbers by the end of the next day." Implementing that by cutting off the last two days from graphs.
Spotted by Roger. --- rserve/graphs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rserve/graphs.R b/rserve/graphs.R index da39327..9070308 100644 --- a/rserve/graphs.R +++ b/rserve/graphs.R @@ -1024,7 +1024,7 @@ plot_bandwidth_flags <- function(start, end, path) {
plot_userstats <- function(start, end, node, variable, value, events, path) { - end <- min(end, as.character(Sys.Date())) + end <- min(end, as.character(Sys.Date() - 2)) u <- read.csv(paste("/srv/metrics.torproject.org/task-8462-graphs/", "task-8462/userstats.csv", sep = ""), stringsAsFactors = FALSE)
tor-commits@lists.torproject.org