jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1490266 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
Date Thu, 06 Jun 2013 13:13:15 GMT
Author: thomasm
Date: Thu Jun  6 13:13:14 2013
New Revision: 1490266

URL: http://svn.apache.org/r1490266
Log:
OAK-13 Use a daemon thread to avoid blocking the build.

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java?rev=1490266&r1=1490265&r2=1490266&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
Thu Jun  6 13:13:14 2013
@@ -175,7 +175,9 @@ public class DefaultRevisionStore extend
                     new ThreadFactory() {
                         @Override
                         public Thread newThread(Runnable r) {
-                            return new Thread(r, "RevisionStore-GC");
+                            Thread t = new Thread(r, "RevisionStore-GC");
+                            t.setDaemon(true);
+                            return t;
                         }
                     });
             gcExecutor.scheduleWithFixedDelay(new Runnable() {



Mime
View raw message