Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Commit

Permalink
Switch back to no-timeouts by default for Kopf's internal requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Vasilyev committed Jul 11, 2019
1 parent 700c7d1 commit 1aa3ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kopf/clients/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@ def get_pykube_cfg() -> pykube.KubeConfig:

# TODO: add some caching, but keep kwargs in mind. Maybe add a key= for purpose/use-place?
def get_pykube_api(timeout=None) -> pykube.HTTPClient:
kwargs = dict(timeout=timeout) if timeout is not None else dict()
kwargs = dict(timeout=timeout)
return pykube.HTTPClient(get_pykube_cfg(), **kwargs)

0 comments on commit 1aa3ea9

Please sign in to comment.