You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2018/06/01 13:48:00 UTC

[jira] [Resolved] (TIKA-2656) Allow users to specify timeout for parsing and/or waiting in ForkParser

     [ https://issues.apache.org/jira/browse/TIKA-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-2656.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.19

> Allow users to specify timeout for parsing and/or waiting in ForkParser
> -----------------------------------------------------------------------
>
>                 Key: TIKA-2656
>                 URL: https://issues.apache.org/jira/browse/TIKA-2656
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>             Fix For: 1.19, 2.0.0
>
>
> We currently have a {{pulse}} in the ForkServer.  This roughly allows for timeouts, but, depending on the timing, the parser could run for nearly 2x as long as the {{pulse}}.  The other downside to our current reliance on {{pulse}} is that a parser could theoretically go forever as long as it outputs a byte within the {{pulse}} window.
> Let's let users explicitly declare a max parse time, and a max wait time – how long should the server remain alive while waiting for a parse request.



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