Skip to content

fix: Default timeout for requests.request()#590

Merged
ehdsouza merged 1 commit intowatson-developer-cloud:masterfrom
bruceadams:timeout
Oct 30, 2018
Merged

fix: Default timeout for requests.request()#590
ehdsouza merged 1 commit intowatson-developer-cloud:masterfrom
bruceadams:timeout

Conversation

@bruceadams
Copy link
Contributor

This avoids a hard-to-diagnose hang condition when a request never gets a response (which often means a network level failure occurred).
Strongly recommended by Python Requests for production use. See: http://docs.python-requests.org/en/master/user/quickstart/#timeouts

This avoids a hard-to-diagnose hang condition when a request never
gets a response (which often means a network level failure occurred).
Strongly recommended by Python Requests for production use. See:
http://docs.python-requests.org/en/master/user/quickstart/#timeouts
@codecov-io
Copy link

codecov-io commented Oct 29, 2018

Codecov Report

Merging #590 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #590   +/-   ##
======================================
  Coverage       0%      0%           
======================================
  Files          26      26           
  Lines       17052   17053    +1     
======================================
- Misses      17052   17053    +1
Impacted Files Coverage Δ
watson_developer_cloud/watson_service.py 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4754c9...90d5307. Read the comment docs.

@ehdsouza ehdsouza merged commit 6b92a1a into watson-developer-cloud:master Oct 30, 2018
@watson-github-bot
Copy link
Collaborator

🎉 This PR is included in version 2.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Development

Successfully merging this pull request may close these issues.

5 participants

Comments