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

Implement exponential backoff when executing request #482

Closed
yetithefoot opened this issue Nov 6, 2015 · 1 comment · Fixed by googleapis/nodejs-googleapis-common#104
Assignees
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@yetithefoot
Copy link

Google suggests to use exponential backoff strategy for avoiding 4XX or 5XX errors. It can be implemented inside SDK and enabling by passing option to request constructor or request.execute. It would safe alot of time for developers who can't implement this strategy by some reasons.

@hutchike
Copy link

hutchike commented Nov 6, 2015

Check out my "ntil" NPM package. It makes exponential back-off very simple.
On 6 Nov 2015 2:56 am, "Vlad Tsepelev" notifications@github.com wrote:

Google suggests to use exponential backoff strategy for avoiding 4XX or
5XX errors. It can be implemented inside SDK and enabling by passing option
to request constructor or request.execute. It would safe alot of time for
developers who can't implement this strategy by some reasons.


Reply to this email directly or view it on GitHub
#482.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants