Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Add timeout to pykube HTTPClient #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mohabusama
Copy link

Add support for timeouts in HTTPClient. Without setting timeout some requests could hang indefinitely.

http://docs.python-requests.org/en/master/user/quickstart/#timeouts

I chose a default of 10 secs, not sure if this is the ideal value.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant