dropbox / dropbox/dropbox-sdk-js

Implement retry policy for some API calls

Open
#190 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
970
Forks
353
Avg merge
9h 3m
Merged PRs (30d)
2

Description

Some dropbox API calls may be rate-limited in certain conditions by responding with HTTP '429 Too Many Requests' (with header 'Retry-After: 1')
May be we can set up some **'retry policy'**, to automatically handle such situation, for example:
`const dbx = new Dropbox({ accessToken: token, numberOfRetries: 10 }); `

default will be 0.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.