Puneet Gupta created LENS-1426:
----------------------------------

             Summary: Support max limit for "timeoutmillis" in 
EXECUTE_WITH_TIMEOUT option
                 Key: LENS-1426
                 URL: https://issues.apache.org/jira/browse/LENS-1426
             Project: Apache Lens
          Issue Type: Improvement
          Components: server
            Reporter: Puneet Gupta


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 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to