klockla commented on code in PR #1373:
URL:
https://github.com/apache/incubator-stormcrawler/pull/1373#discussion_r1816564748
##########
external/urlfrontier/src/main/java/org/apache/stormcrawler/urlfrontier/Spout.java:
##########
@@ -131,12 +144,19 @@ protected void populateBuffer() {
maxBucketNum,
maxURLsPerBucket);
- GetParams request =
+ GetParams.Builder builder =
GetParams.newBuilder()
.setMaxUrlsPerQueue(maxURLsPerBucket)
- .setMaxQueues(maxBucketNum)
.setDelayRequestable(delayRequestable)
- .build();
+ .setMaxQueues(maxBucketNum);
+
+ if (URLFRONTIER_ANY_CRAWL_ID.equals(globalCrawlID)) {
+ builder.setAnyCrawlID(anyCrawlID);
Review Comment:
Hi @jnioche , ok I removed references to anyCrawlId and populate the crawlId
only if found in the configuration
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]