We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 667631d + 0503b3a commit 974ac42Copy full SHA for 974ac42
python/hopsworks_common/core/dataset_api.py
@@ -744,7 +744,7 @@ def _archive(
744
745
# Wait for zip file to appear. When it does, check that parent dir zipState is not set to CHOWNING
746
count = 0
747
- while timeout is None:
+ while True:
748
if action == "zip":
749
zip_path = remote_path + ".zip"
750
# Get the status of the zipped file
@@ -771,7 +771,7 @@ def _archive(
771
return True
772
time.sleep(1)
773
count += 1
774
- if count >= timeout:
+ if timeout is not None and count >= timeout:
775
self._log.info(
776
f"Timeout of {timeout} seconds exceeded while {action} {remote_path}."
777
)
0 commit comments