[ https://issues.apache.org/jira/browse/TIKA-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434493#comment-17434493 ]
Nick Burch commented on TIKA-3582: ---------------------------------- Bit fiddly, but how about a config option on the server for the minimum (with a sensible default), and the header never lets you go below that minimum? > Tika does not respect a configuration value passed over a HTTP Header > --------------------------------------------------------------------- > > Key: TIKA-3582 > URL: https://issues.apache.org/jira/browse/TIKA-3582 > Project: Tika > Issue Type: Bug > Components: server > Affects Versions: 2.1.0 > Reporter: dataminer.accolade > Assignee: Tim Allison > Priority: Major > Fix For: 2.1.1 > > Attachments: sampleimage.png > > > > I think the value of TikaServerConfig.TaskTimeoutMillis should be overridden > for the current request over *X-Tika-OCRTimeoutSeconds* header. The following > request takes more than 120 seconds. > *curl -vvv -X PUT -T sampleimage.png http://localhost:9998/tika --header > "X-Tika-OCRTimeoutSeconds: 600"* > > Tesserect is configured with tessdata_best models -- This message was sent by Atlassian Jira (v8.3.4#803005)