[ https://issues.apache.org/jira/browse/TIKA-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434881#comment-17434881 ]
Tim Allison commented on TIKA-3582: ----------------------------------- I implemented [~nick]'s recommendation. Headers cannot override the minimum and maximum set via the server-config. Let me know if this doesn't work for you. > 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)