activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r831012 - /activemq/branches/activemq-5.3/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
Date Thu, 29 Oct 2009 16:17:33 GMT
Author: gtully
Date: Thu Oct 29 16:17:32 2009
New Revision: 831012

URL: http://svn.apache.org/viewvc?rev=831012&view=rev
Log:
svn merge -c 831008 https://svn.apache.org/repos/asf/activemq/trunk - first cut of resolution
to https://issues.apache.org/activemq/browse/AMQ-2470 - put cleanup on a fixe rate schedual

Modified:
    activemq/branches/activemq-5.3/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java

Modified: activemq/branches/activemq-5.3/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/activemq/branches/activemq-5.3/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java?rev=831012&r1=831011&r2=831012&view=diff
==============================================================================
--- activemq/branches/activemq-5.3/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
(original)
+++ activemq/branches/activemq-5.3/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
Thu Oct 29 16:17:32 2009
@@ -215,7 +215,7 @@
 
         // Cleanup the db periodically.
         if (cleanupPeriod > 0) {
-            cleanupTicket = getScheduledThreadPoolExecutor().scheduleAtFixedRate(new Runnable()
{
+            cleanupTicket = getScheduledThreadPoolExecutor().scheduleWithFixedDelay(new Runnable()
{
                 public void run() {
                     cleanup();
                 }



Mime
View raw message