Skip to content

Commit

Permalink
Optimize: Introduce multiple disk write for MPU
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 20, 2024
1 parent cb4cd33 commit c34c526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tosfs/stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ def retryable_func_executor(
raise e

if is_retryable_exception(e):
logger.warning("Retry TOS request in the %d times, error: %s", attempt, e)
logger.warning(
"Retry TOS request in the %d times, error: %s", attempt, e
)
try:
time.sleep(min(1.7**attempt * 0.1, 15))
except InterruptedError as ie:
Expand Down

0 comments on commit c34c526

Please sign in to comment.