[
https://issues.apache.org/jira/browse/LENS-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259604#comment-15259604
]
Puneet Gupta commented on LENS-383:
-----------------------------------
Jersey Client supports timeout via
- org.glassfish.jersey.client.ClientProperties#READ_TIMEOUT
- org.glassfish.jersey.client.ClientProperties#CONNECT_TIMEOUT
Default values for both are infinity (0)
Making timeouts configurable. Default values will be
CONNECT_TIMEOUT = 10 secs
READ_TIMEOUT = 5mins
> Timeouts on rest api calls in lens client
> -----------------------------------------
>
> Key: LENS-383
> URL: https://issues.apache.org/jira/browse/LENS-383
> Project: Apache Lens
> Issue Type: Improvement
> Components: client
> Reporter: Akshay Goyal
> Assignee: Puneet Gupta
> Priority: Minor
> Labels: newbie
> Fix For: 2.6
>
>
> To handle cases where server is not responding or slow in response, we need
> to put timeouts on api calls in lens client. Need to see if one value will
> suffice for all api calls or specific timeout values will be required for
> some api calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)