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

Hudson commented on TIKA-4886:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk17 #1624 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1624/])
TIKA-4886: Do not start subprocess, if granted timeout is <= 0 (#3149) (github: 
[https://github.com/apache/tika/commit/968e89eae9999f286bb203615c6b77213cac8f6f])
* (edit) tika-core/src/main/java/org/apache/tika/utils/ProcessUtils.java
* (edit) tika-core/src/test/java/org/apache/tika/utils/ProcessUtilsTest.java


> ProcessUtils spawns and immediately kills a subprocess when time budget is 
> zero
> -------------------------------------------------------------------------------
>
>                 Key: TIKA-4886
>                 URL: https://issues.apache.org/jira/browse/TIKA-4886
>             Project: Tika
>          Issue Type: Bug
>          Components: core
>            Reporter: Tim Grein
>            Priority: Minor
>
> Currently ProcessUtils.execute starts a subprocess, even if 
> requestedTimeoutMillis is 0. TikaHttpClient on the other hand has a fail fast 
> path, where a timeout exception is thrown, if the granted timeout is <= 0.
> ProcessUtils.execute should probably also have a fail fast path similar to 
> the TikaHttpClient.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to