r7483 - dumbhippo/trunk/firehose/firehose



Author: walters
Date: 2008-05-14 10:06:55 -0500 (Wed, 14 May 2008)
New Revision: 7483

Modified:
   dumbhippo/trunk/firehose/firehose/logstats.groovy
Log:
small tweaks


Modified: dumbhippo/trunk/firehose/firehose/logstats.groovy
===================================================================
--- dumbhippo/trunk/firehose/firehose/logstats.groovy	2008-05-13 20:42:50 UTC (rev 7482)
+++ dumbhippo/trunk/firehose/firehose/logstats.groovy	2008-05-14 15:06:55 UTC (rev 7483)
@@ -5,7 +5,7 @@
 long timeSliceMilliseconds = 1*60*60*1000 /* 1 hour */
 
 def updatePattern = ~/splitting ([0-9]+) tasks into messages/
-def fullUnmodifiedFetchPattern = ~/Fetched full unmodified content for (.+)$/
+def fullUnmodifiedFetchPattern = ~/Fetched full unmodified content.*for (.+)$/
 def unmodifiedFetchPattern = ~/Got 304 Unmodified for (.+)$/
 def modifiedFetchPattern = ~/Got new hash.+for url (.+)$/
 def asctimeFormat = new SimpleDateFormat('yyyy-MM-dd HH:mm:ss,SSS')
@@ -96,7 +96,7 @@
 resultGroups.each { group ->
     Date d = new Date(group.startDate)
     def pollsPerSec = group.updates/(timeSliceMilliseconds/1000)
-	println "updates from ${d}: ${group.updates} (${pollsPerSec} checks per second)"
+	println "updates from ${d}: ${group.updates} (${pollsPerSec} changes per second)"
 	printTopKeys("U", group.domainUnmodified, group.domainModified)
 	printTopKeys("M", group.domainModified, group.domainUnmodified)
 }



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