incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ange...@apache.org
Subject svn commit: r1040564 - /incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
Date Tue, 30 Nov 2010 15:04:44 GMT
Author: angelos
Date: Tue Nov 30 15:04:43 2010
New Revision: 1040564

URL: http://svn.apache.org/viewvc?rev=1040564&view=rev
Log:
ACE-100 Made the scheduling interval configurable; use -Dsyncinterval and provide a value
in ms.

Modified:
    incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java

Modified: incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java?rev=1040564&r1=1040563&r2=1040564&view=diff
==============================================================================
--- incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
(original)
+++ incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
Tue Nov 30 15:04:43 2010
@@ -53,7 +53,7 @@ public class Activator extends Dependenc
         try {
             configure("org.apache.ace.discovery.property", "serverURL", System.getProperty("discovery",
"http://localhost:8080"));
             configure("org.apache.ace.identification.property", "gatewayID", System.getProperty("identification",
"configuredGatewayID"));
-            configure("org.apache.ace.scheduler", "auditlog", "2000", "org.apache.ace.deployment.task.DeploymentUpdateTask",
"2000");
+            configure("org.apache.ace.scheduler", "auditlog", System.getProperty("syncinterval",
"2000"), "org.apache.ace.deployment.task.DeploymentUpdateTask", System.getProperty("syncinterval",
"2000"));
             configureFactory("org.apache.ace.gateway.log.factory", "name", "auditlog");
             configureFactory("org.apache.ace.gateway.log.store.factory", "name", "auditlog");
         }



Mime
View raw message