roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r471074 - /incubator/roller/trunk/src/org/apache/roller/business/hibernate/HibernateThreadManagerImpl.java
Date Sat, 04 Nov 2006 00:26:01 GMT
Author: agilliland
Date: Fri Nov  3 16:26:01 2006
New Revision: 471074

URL: http://svn.apache.org/viewvc?view=rev&rev=471074
Log:
task intervals are in minutes, not seconds.


Modified:
    incubator/roller/trunk/src/org/apache/roller/business/hibernate/HibernateThreadManagerImpl.java

Modified: incubator/roller/trunk/src/org/apache/roller/business/hibernate/HibernateThreadManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/hibernate/HibernateThreadManagerImpl.java?view=diff&rev=471074&r1=471073&r2=471074
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/business/hibernate/HibernateThreadManagerImpl.java
(original)
+++ incubator/roller/trunk/src/org/apache/roller/business/hibernate/HibernateThreadManagerImpl.java
Fri Nov  3 16:26:01 2006
@@ -190,7 +190,7 @@
         // calculate next run time
         Calendar cal = Calendar.getInstance();
         cal.setTime(lastRun);
-        cal.add(Calendar.SECOND, task.getInterval());
+        cal.add(Calendar.MINUTE, task.getInterval());
         
         return cal.getTime();
     }



Mime
View raw message