Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Config Timeout optional. #280

Merged
merged 3 commits into from
Jul 21, 2020
Merged

Make Config Timeout optional. #280

merged 3 commits into from
Jul 21, 2020

Conversation

JonnyWalker81
Copy link
Contributor

Reqwest timeout is optional, but the client config for kube-rs was not optional, so a user of the library was not able to supply None to get a connection that stays open. Keeping the connection open for a long time is useful for monitoring logs of a pod.

@clux
Copy link
Member

clux commented Jul 21, 2020

It's not really supported upstream though. If you keep a connection open for more than 5 minutes you tend to have issues. This is why it's there as default.

@clux
Copy link
Member

clux commented Jul 21, 2020

Ohh, sorry, I misread. You are fixing it being able to be unset. Yeah that makes more sense!

@clux clux merged commit 95e371e into kube-rs:master Jul 21, 2020
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