[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-db/master] Only skip downloading Torperf files younger than 5:30 hours.



commit c3690c76cff8437b25169d80897fc3ed94167f70
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Tue Mar 6 12:20:02 2012 +0100

    Only skip downloading Torperf files younger than 5:30 hours.
---
 src/org/torproject/ernie/db/TorperfDownloader.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/org/torproject/ernie/db/TorperfDownloader.java b/src/org/torproject/ernie/db/TorperfDownloader.java
index 95d2e30..9506eee 100644
--- a/src/org/torproject/ernie/db/TorperfDownloader.java
+++ b/src/org/torproject/ernie/db/TorperfDownloader.java
@@ -58,7 +58,7 @@ public class TorperfDownloader {
     String lastTimestampLine = null;
     int linesAfterLastTimestampLine = 0;
     if (outputFile.exists() && outputFile.lastModified() >
-        System.currentTimeMillis() - 6L * 60L * 60L * 1000L) {
+        System.currentTimeMillis() - 330L * 60L * 1000L) {
       return;
     } else if (outputFile.exists()) {
       try {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits