jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1466446 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
Date Wed, 10 Apr 2013 12:36:23 GMT
Author: mreutegg
Date: Wed Apr 10 12:36:22 2013
New Revision: 1466446

URL: http://svn.apache.org/r1466446
Log:
OAK-619 Lock-free MongoMK implementation
- Change default value for oak.mongoMK.backgroundOps to 'true'

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java?rev=1466446&r1=1466445&r2=1466446&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
Wed Apr 10 12:36:22 2013
@@ -82,7 +82,8 @@ public class MongoMK implements MicroKer
     /**
      * Enable background operations
      */
-    private static final boolean ENABLE_BACKGROUND_OPS = Boolean.getBoolean("oak.mongoMK.backgroundOps");
+    private static final boolean ENABLE_BACKGROUND_OPS = Boolean.parseBoolean(
+            System.getProperty("oak.mongoMK.backgroundOps", "true"));
     
     /**
      * The delay for asynchronous operations (delayed commit propagation and



Mime
View raw message