Skip to content

Commit

Permalink
break when upload failed
Browse files Browse the repository at this point in the history
  • Loading branch information
aresnow1 committed Apr 19, 2023
1 parent b6ad97a commit 7f0e5cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/xorbits/_mars/services/storage/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ async def upload_storage_info(self):
Exception
) as ex: # pragma: no cover # noqa: E722 # nosec # pylint: disable=bare-except
logger.error(f"Failed to upload storage info: {ex}")
break
await asyncio.sleep(0.5)

async def upload_disk_info(self):
Expand Down

0 comments on commit 7f0e5cc

Please sign in to comment.