Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Reduced timeout value
Browse files Browse the repository at this point in the history
Changing default timeout to 180 seconds As 300 seconds was too long to wait

Signed-off-by: Paul Myjavec <[email protected]>
  • Loading branch information
ramreddya authored and pmyjavec committed Aug 24, 2021
1 parent 5e24cde commit 0dab121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kelpy/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def pod_selector(client, name, namespace="default"):
return None


def delete(client, name, namespace="default", wait_for_timeout=300):
def delete(client, name, namespace="default", wait_for_timeout=180):
try:
response = client.delete_namespaced_deployment(name, namespace)
except ApiException as e:
Expand Down
2 changes: 1 addition & 1 deletion kelpy/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get(client, name):
return None


def delete(client, name, wait_for_timeout=300):
def delete(client, name, wait_for_timeout=180):
try:
response = client.delete_namespace(name)
except ApiException as e:
Expand Down

0 comments on commit 0dab121

Please sign in to comment.