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

Commit

Permalink
increase read timeout to 15s
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Jan 31, 2017
1 parent 09c07ee commit ba1443d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube_ops_view/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def map_container(cont: dict, pod: dict):
def request(cluster, path, **kwargs):
if 'timeout' not in kwargs:
# sane default timeout
kwargs['timeout'] = 5
kwargs['timeout'] = (5, 15)
if cluster.cert_file and cluster.key_file:
kwargs['cert'] = (cluster.cert_file, cluster.key_file)
return session.get(urljoin(cluster.api_server_url, path), auth=cluster.auth, verify=cluster.ssl_ca_cert, **kwargs)
Expand Down

0 comments on commit ba1443d

Please sign in to comment.