Skip to content

Commit

Permalink
Infra: introduce retry func warpper
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 12, 2024
1 parent dccf634 commit f95a4f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tosfs/stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
StreamConsumedError,
RetryError,
InterruptedError,
ConnectionResetError,
ConnectionError,
}

MAX_RETRY_NUM = 20
Expand Down

0 comments on commit f95a4f3

Please sign in to comment.