servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r704794 - /servicemix/scripts/builds/webapps/builds/status.jsp
Date Wed, 15 Oct 2008 06:51:25 GMT
Author: lhein
Date: Tue Oct 14 23:51:25 2008
New Revision: 704794

URL: http://svn.apache.org/viewvc?rev=704794&view=rev
Log:
fixed syntax error

Modified:
    servicemix/scripts/builds/webapps/builds/status.jsp

Modified: servicemix/scripts/builds/webapps/builds/status.jsp
URL: http://svn.apache.org/viewvc/servicemix/scripts/builds/webapps/builds/status.jsp?rev=704794&r1=704793&r2=704794&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Tue Oct 14 23:51:25 2008
@@ -73,7 +73,7 @@
   String key_timestamps = "timestamps";
   String key_lastresults= "lastResults";
   
-  long RE_READ_TIMER = 1 * 60 * 1000; // 30 minutes re-read timer
+  long RE_READ_TIMER = 1 * 60 * 1000; // 20 minutes re-read timer for UNKNOWN status
   long ACTIVITY_TIME_OUT = 5 * 60 * 1000; // 5 minutes because of longer scp uploads
   
   TreeMap prjMap = null;
@@ -166,7 +166,7 @@
           }
 
           if (searchTerm.equalsIgnoreCase("UNKNOWN") &&
-              System.currentTimeMillis() - f.lastModified > RE_READ_TIMER) {
+              System.currentTimeMillis() - f.lastModified() > RE_READ_TIMER) {
               lastResultMap.remove(uri);
               tsMap.remove(uri);
           } else {



Mime
View raw message