Skip to content

Commit

Permalink
feat: Catch and retry ConnectionResetError exceptions in HTTP taps
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Dec 2, 2022
1 parent cf51acc commit 56e15d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions singer_sdk/streams/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def request_decorator(self, func: Callable) -> Callable:
decorator: Callable = backoff.on_exception(
self.backoff_wait_generator,
(
ConnectionResetError,
RetriableAPIError,
requests.exceptions.ReadTimeout,
requests.exceptions.ConnectionError,
Expand Down

0 comments on commit 56e15d1

Please # to comment.