Skip to content

Comments

adds default web response timeout of 120 seconds#134

Open
techyragu wants to merge 1 commit intoCiscoUcs:masterfrom
techyragu:timeout
Open

adds default web response timeout of 120 seconds#134
techyragu wants to merge 1 commit intoCiscoUcs:masterfrom
techyragu:timeout

Conversation

@techyragu
Copy link
Contributor

  • Adds default time out of 120 Sec at ImcHandle level and across individual ImcHandle APIs.
  • Adds method to modify and reset web response timeout.
>>> handle.login()
True
>>> handle._ImcHandle__response_timeout
120
>>>
>>> handle.set_response_timeout(60)
>>> handle._ImcHandle__response_timeout
60
>>>
>>> handle.reset_response_timeout()
>>> handle._ImcHandle__response_timeout
120```

Signed-off-by: Rahul Gupta <ragupta4@cisco.com>

Signed-off-by: Rahul Gupta <ragupta4@cisco.com>
@vvb
Copy link
Member

vvb commented Jan 30, 2018

@ragupta-git Any specific reasoning behind choosing 120?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants