Skip to content

Commit f93c6b0

Browse files
committed
Set dataset clean-up default timeout to 300
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
1 parent 1ad060e commit f93c6b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fluid/api/fluid_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def clean_up(self, wait=True):
183183
return
184184
try:
185185
self.fluid_client.k8s_client.delete_dataset(self.obj.metadata.name, self.obj.metadata.namespace,
186-
wait_until_cleaned_up=wait, timeout=30)
186+
wait_until_cleaned_up=wait)
187187
except TimeoutError:
188188
logger.warning(f"Timeout when cleaning up dataset {self.name}, there may be some pods relying on the "
189189
f"dataset that blocks the deletion, please check")

fluid/constants/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from fluid import models
1818

19-
DEFAULT_TIMEOUT = 120
19+
DEFAULT_TIMEOUT = 300
2020

2121
DEFAULT_POLL_TIMEOUT = 600
2222
DEFAULT_POLL_INTERVAL = 3

0 commit comments

Comments
 (0)