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

Exponential Backoff #478

Closed
MarkHerhold opened this issue Jul 14, 2018 · 2 comments
Closed

Exponential Backoff #478

MarkHerhold opened this issue Jul 14, 2018 · 2 comments

Comments

@MarkHerhold
Copy link

The stripe docs say

The Stripe Ruby library retries on failure automatically with an idempotency key using increasing backoff times and jitter. The implementation for that is pretty simple, and you can refer to it on GitHub to see exactly how it works.

Does the Stripe Node.js library support retries and exponential backoff?

@remi-stripe
Copy link
Contributor

@MarkHerhold It's not something that the library supports out of the box yet unfortunately. Going to tag is as "future" since it's something we should definitely implement at some point (we'd love a PR if you're up for it!).

@ob-stripe
Copy link
Contributor

Automatic retries with exponential backoff was added to the library in version 6.25.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants