This is an automated email from the ASF dual-hosted git repository.
markus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new a8ec17ca8 NUTCH-3029 Host specific max. and min. intervals in adaptive
scheduler
a8ec17ca8 is described below
commit a8ec17ca853b2488bf5d96538915a00a05064a31
Author: Markus Jelsma <[email protected]>
AuthorDate: Wed Mar 13 18:35:22 2024 +0000
NUTCH-3029 Host specific max. and min. intervals in adaptive scheduler
---
src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
b/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
index 4d4a3af73..64719cdae 100644
--- a/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
+++ b/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
@@ -192,6 +192,7 @@ public class AdaptiveFetchSchedule extends
AbstractFetchSchedule {
*
* @param url url to get hostname for
* @return hostname
+ * @throws URISyntaxException
*/
public static String getHostName(String url) throws URISyntaxException {
URI uri = new URI(url);