Skip to content

Commit

Permalink
feat: Retry some streaming and decoding request errors (#1478)
Browse files Browse the repository at this point in the history
Co-authored-by: Edgar R. M <[email protected]>
  • Loading branch information
visch and edgarrmondragon authored Mar 6, 2023
1 parent b1b4909 commit 44aa0a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions singer_sdk/streams/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ def request_decorator(self, func: Callable) -> Callable:
RetriableAPIError,
requests.exceptions.ReadTimeout,
requests.exceptions.ConnectionError,
requests.exceptions.ChunkedEncodingError,
requests.exceptions.ContentDecodingError,
),
max_tries=self.backoff_max_tries,
on_backoff=self.backoff_handler,
Expand Down

0 comments on commit 44aa0a0

Please sign in to comment.