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

Add timeout to pykube HTTPClient#156

Open
mohabusama wants to merge 1 commit intokelproject:masterfrom
mohabusama:set-http-timeout
Open

Add timeout to pykube HTTPClient#156
mohabusama wants to merge 1 commit intokelproject:masterfrom
mohabusama:set-http-timeout

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.

1 participant