[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [ernie/master 2/2] Make logs about written relay descriptors less verbose.
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed, 14 Apr 2010 21:43:49 +0200
Subject: Make logs about written relay descriptors less verbose.
Commit: 8baaff493633c2faf3db540f93d71c7646c42ccd
---
src/ArchiveWriter.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ArchiveWriter.java b/src/ArchiveWriter.java
index 580d484..a393e58 100644
--- a/src/ArchiveWriter.java
+++ b/src/ArchiveWriter.java
@@ -107,7 +107,7 @@ public class ArchiveWriter {
+ "descriptors to disk.\n");
sb.append(intermediateStats.toString());
sb.append("Statistics on the completeness of written relay "
- + "descriptors of the past 12 consensuses (Consensus/Vote, "
+ + "descriptors of the last 3 consensuses (Consensus/Vote, "
+ "valid-after, votes, server descriptors, extra-infos):");
try {
SimpleDateFormat validAfterFormat =
@@ -132,7 +132,7 @@ public class ArchiveWriter {
} else if (pop.length() > 0) {
consensuses.add(pop);
}
- while (consensuses.size() > 12) {
+ while (consensuses.size() > 3) {
consensuses.remove(consensuses.first());
}
}
--
1.6.5