Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(next major) one network retry by default #1803

Conversation

richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Jun 1, 2023

Summary

Changes the default behavior of stripe-node to perform 1 reattempt on retryable failures by default, instead of 0. Retrying is generally safe. This is the same behavior as in stripe-go.

This will improve the default experience in environments like AWS Lambda where broken connections are inevitable (fixes #1040)

@richardm-stripe richardm-stripe changed the base branch from master to sdk-release/next-major June 1, 2023 17:54
@richardm-stripe richardm-stripe force-pushed the richardm-do-one-network-retry-by-default branch 2 times, most recently from e8af13d to 8a01d2a Compare June 2, 2023 18:52
@richardm-stripe richardm-stripe requested review from a team and anniel-stripe and removed request for a team June 2, 2023 18:55
@richardm-stripe richardm-stripe force-pushed the richardm-do-one-network-retry-by-default branch from 8a01d2a to d71aa88 Compare June 2, 2023 18:56
@richardm-stripe richardm-stripe force-pushed the sdk-release/next-major branch from ac9661b to c17a9b6 Compare June 2, 2023 19:17
@richardm-stripe richardm-stripe force-pushed the richardm-do-one-network-retry-by-default branch from 363ae56 to c17a9b6 Compare June 2, 2023 19:19
@richardm-stripe richardm-stripe deleted the richardm-do-one-network-retry-by-default branch June 2, 2023 19:20
@richardm-stripe richardm-stripe restored the richardm-do-one-network-retry-by-default branch June 2, 2023 19:20
@richardm-stripe
Copy link
Contributor Author

ugh I hate git

@richardm-stripe richardm-stripe merged commit be686fe into sdk-release/next-major Jun 2, 2023
@richardm-stripe richardm-stripe deleted the richardm-do-one-network-retry-by-default branch June 2, 2023 20:22
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.

Intermittent Error: write EPIPE when running stripe client in AWS Lambda
2 participants