You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by ml...@apache.org on 2013/06/24 16:34:04 UTC
svn commit: r1496067 -
/manifoldcf/branches/CONNECTORS-727/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
Author: mlizewski
Date: Mon Jun 24 14:34:03 2013
New Revision: 1496067
URL: http://svn.apache.org/r1496067
Log:
checkJobStillActive in processDocuments
Modified:
manifoldcf/branches/CONNECTORS-727/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
Modified: manifoldcf/branches/CONNECTORS-727/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-727/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java?rev=1496067&r1=1496066&r2=1496067&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-727/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java (original)
+++ manifoldcf/branches/CONNECTORS-727/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java Mon Jun 24 14:34:03 2013
@@ -307,6 +307,8 @@ public class GenericConnector extends Ba
if (scanOnly[i]) {
continue;
}
+ activities.checkJobStillActive();
+
Item item = documentCache.get(documentIdentifiers[i]);
if (item == null) {
throw new ManifoldCFException("processDocuments error - no cache entry for: " + documentIdentifiers[i]);