jnioche commented on code in PR #1343:
URL: 
https://github.com/apache/incubator-stormcrawler/pull/1343#discussion_r1800469984


##########
external/solr/src/main/java/org/apache/stormcrawler/solr/persistence/SolrSpout.java:
##########
@@ -156,10 +176,15 @@ else if (resetFetchDateAfterNSecs != -1) {
         LOG.debug("QUERY => {}", query);
 
         try {
+            LOG.trace("isInQuery set to true");
+            isInQuery.set(true);
+
             long startQuery = System.currentTimeMillis();
             QueryResponse response = connection.getClient().query(query);
             long endQuery = System.currentTimeMillis();
 
+            markQueryReceivedNow();
+

Review Comment:
   It is used in the super class and has an impact on when _populateBuffer_ is 
called
   see 
[AbstractQueryingSpout](https://github.com/apache/incubator-stormcrawler/blob/6ba510c91848dd3d8bce09dc65ac97194eea829c/core/src/main/java/org/apache/stormcrawler/persistence/AbstractQueryingSpout.java#L182)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@stormcrawler.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to