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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.19, 2.0.0
    • None
    • 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

            Unassigned Unassigned
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: