Uploaded image for project: 'Apache Lens'
  1. Apache Lens
  2. LENS-1426

Support max limit for "timeoutmillis" in EXECUTE_WITH_TIMEOUT option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      We can set the max to 5 mins and if a user sets the timeoutmillis > 5 mins , this api can throw an exception.

      Reason : this is a blocking call and blocks a request thread on server. Long timeoutmillis values can cause DOS by blocking all the request threads

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              puneet884 Puneet Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: