Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Retries for failed API requests #200

Open
craigcitro opened this issue Jun 2, 2020 · 0 comments
Open

Retries for failed API requests #200

craigcitro opened this issue Jun 2, 2020 · 0 comments

Comments

@craigcitro
Copy link

Currently, pydrive uses googleapiclient for all Drive API operations, but doesn't retry any failed requests. However, the Drive API recommends retries with exponential backoff for many errors, and googleapiclient supports retries for all requests.

Would it be possible to add retry behavior as per the Drive API recommendations?

(Additionally, it'd be great to add this for the initial client creation, as the discovery service can also throw 500s.)

Thanks!

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

No branches or pull requests

1 participant