[jira] [Commented] (NUTCH-2618) protocol-okhttp not to use http.timeout for max duration to fetch document

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (NUTCH-2618) protocol-okhttp not to use http.timeout for max duration to fetch document

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/NUTCH-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539882#comment-16539882 ]

ASF GitHub Bot commented on NUTCH-2618:
---------------------------------------

sebastian-nagel opened a new pull request #360: NUTCH-2618 protocol-okhttp not to use http.timeout for max duration to fetch document
URL: https://github.com/apache/nutch/pull/360
 
 
   - add property http.time.limit to configure the max. time allowed to fetch a single document
   - add reason of truncation (content or time) to response metadata
   - rename "trimmed" -> "truncated" to follow common Nutch terminology

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


> protocol-okhttp not to use http.timeout for max duration to fetch document
> --------------------------------------------------------------------------
>
>                 Key: NUTCH-2618
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2618
>             Project: Nutch
>          Issue Type: Bug
>          Components: protocol
>    Affects Versions: 1.15
>            Reporter: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.15
>
>
> Protocol-okhttp (NUTCH-2576) uses the HTTP network timeout ({{http.timeout}}) as time limit for the max duration to fetch a document. The timeout value (default = 10 sec.) is usually to small to fetch larger documents. The max fetch duration should be separately configurable, e.g., by a property {{http.time.limit}} (similar to {{http.content.limit}}).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)