jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1336252 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
Date Wed, 09 May 2012 15:57:09 GMT
Author: mreutegg
Date: Wed May  9 15:57:08 2012
New Revision: 1336252

URL: http://svn.apache.org/viewvc?rev=1336252&view=rev
Log:
JCR-3303: ClusterNode's stopDelay should default to something other zero

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java?rev=1336252&r1=1336251&r2=1336252&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
Wed May  9 15:57:08 2012
@@ -224,6 +224,7 @@ public class ClusterNode implements Runn
         ClusterConfig cc = clusterContext.getClusterConfig();
         clusterNodeId = cc.getId();
         syncDelay = cc.getSyncDelay();
+        stopDelay = syncDelay * 2;
 
         try {
             journal = cc.getJournal(clusterContext.getNamespaceResolver());



Mime
View raw message