You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/06/01 13:17:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16497970#comment-16497970 ]
Hudson commented on TIKA-2656:
------------------------------
FAILURE: Integrated in Jenkins build tika-2.x-windows #265 (See [https://builds.apache.org/job/tika-2.x-windows/265/])
TIKA-2656 -- allow absolute timeout for ForkParser (tallison: rev 929dcd75b8480a2a2d19a1801a88973b5e9358ac)
* (delete) tika-core/src/test/resources/org/apache/tika/fork/embedded_with_npe.xml
* (edit) tika-core/src/test/java/org/apache/tika/fork/ForkParserTikaBinTest.java
* (add) tika-core/src/test/resources/test-documents/embedded_with_npe.xml
* (add) tika-core/src/main/java/org/apache/tika/fork/TimeoutLimits.java
* (delete) tika-core/src/test/resources/org/apache/tika/fork/basic_embedded.xml
* (edit) tika-core/src/main/java/org/apache/tika/fork/ForkClient.java
* (edit) CHANGES.txt
* (add) tika-core/src/test/resources/test-documents/basic_embedded.xml
* (edit) tika-core/src/test/java/org/apache/tika/fork/ForkParserTest.java
* (add) tika-core/src/test/resources/test-documents/embedded_then_npe.xml
* (edit) tika-core/src/main/java/org/apache/tika/fork/ForkParser.java
* (edit) tika-core/src/main/java/org/apache/tika/fork/ForkServer.java
* (delete) tika-core/src/test/resources/org/apache/tika/fork/embedded_then_npe.xml
> 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
>
> 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)