Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aresnow1 committed Mar 28, 2023
1 parent cb4d450 commit 6734c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/xorbits/_mars/services/storage/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ async def upload_storage_info(self):
)
await self._cluster_api.set_band_storage_info.batch(*upload_tasks)
failure_num = 0
await asyncio.sleep(1)
except asyncio.CancelledError: # pragma: no cover
break
except (
Expand All @@ -651,7 +652,6 @@ async def upload_storage_info(self):
if failure_num >= 3:
# Exit the loop after three consecutive failures.
break
await asyncio.sleep(1)

async def upload_disk_info(self):
from ..cluster import DiskInfo
Expand Down

0 comments on commit 6734c25

Please sign in to comment.