Skip to content

Conversation

@leslievandemark
Copy link
Contributor

Description of change

Adds retry to ChunkedEncodingError

Manual QA steps

Risks

  • low

Rollback steps

  • revert this branch

max_tries=3,
factor=2)
@backoff.on_exception(backoff.expo,
(TypeformInternalError, TypeformNotAvailableError),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leslievandemark Why can we add ChunkedEncodingError within line 85?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second this, instead of a new decorator this can go in the existing one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two existing ones have the same parameters, so I combined them all

@leslievandemark leslievandemark merged commit 7c4c283 into master Nov 1, 2021
@leslievandemark leslievandemark deleted the fix/add-retry-to-ChunkedEncodingError branch November 1, 2021 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants