Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2656

Allow users to specify timeout for parsing and/or waiting in ForkParser

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.19, 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tallison@apache.org Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: