Skip to content

Commit

Permalink
Add ChunkedEncodingError to retryable error set (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua authored Sep 21, 2024
1 parent 239e39d commit db9b020
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tosfs/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import requests
from requests.exceptions import (
ChunkedEncodingError,
ConnectTimeout,
HTTPError,
ProxyError,
Expand Down Expand Up @@ -68,6 +69,7 @@
InterruptedError,
ConnectionResetError,
ConnectionError,
ChunkedEncodingError,
}

MAX_RETRY_NUM = 20
Expand Down

0 comments on commit db9b020

Please sign in to comment.