Skip to content

Commit

Permalink
added connection error to list of backoff exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lloyd committed Aug 19, 2022
1 parent cbad0c2 commit 8f5d88f
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 @@ -213,6 +213,7 @@ def request_decorator(self, func: Callable) -> Callable:
(
RetriableAPIError,
requests.exceptions.ReadTimeout,
requests.exceptions.ConnectionError,
),
max_tries=self.backoff_max_tries,
on_backoff=self.backoff_handler,
Expand Down

0 comments on commit 8f5d88f

Please sign in to comment.