jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1143381 - /jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
Date Wed, 06 Jul 2011 12:39:40 GMT
Author: thomasm
Date: Wed Jul  6 12:39:40 2011
New Revision: 1143381

URL: http://svn.apache.org/viewvc?rev=1143381&view=rev
Log:
respect timeout

Modified:
    jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java

Modified: jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java?rev=1143381&r1=1143380&r2=1143381&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
(original)
+++ jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
Wed Jul  6 12:39:40 2011
@@ -83,7 +83,7 @@ public class SubscriptionImpl implements
                 }
 
                 String old = current.getStartRevision();
-                String head = microKernel.waitForCommit(old, 1000); // fixme respect timeout
+                String head = microKernel.waitForCommit(old, timeout);
                 eventBundles.addAll(current.getEventsBundles(head));
                 eventSources.add(current.update(head));
             }



Mime
View raw message