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

Commit ba1443d

Browse files
committed
increase read timeout to 15s
1 parent 09c07ee commit ba1443d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kube_ops_view/kubernetes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def map_container(cont: dict, pod: dict):
5050
def request(cluster, path, **kwargs):
5151
if 'timeout' not in kwargs:
5252
# sane default timeout
53-
kwargs['timeout'] = 5
53+
kwargs['timeout'] = (5, 15)
5454
if cluster.cert_file and cluster.key_file:
5555
kwargs['cert'] = (cluster.cert_file, cluster.key_file)
5656
return session.get(urljoin(cluster.api_server_url, path), auth=cluster.auth, verify=cluster.ssl_ca_cert, **kwargs)

0 commit comments

Comments
 (0)