Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Feature/Bug Fix: Use exponential back off for gdrive download and gdrive download query #309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

euklid
Copy link

@euklid euklid commented Jun 9, 2017

Exponential back off for gdrive download and gdrive download query. Does not implement this for other parts, so rateLimit-like errors can still occur there, but I'm confident, it can be implemented there in a similar fashion.

Uses an approach similar to

if isBackendOrRateLimitError(err) && args.try < MaxErrorRetries {

The approach used is also referenced in #132 by @louiswilliams

This probably is a way towards a fix for #306 #132 and #272

@euklid
Copy link
Author

euklid commented Jun 9, 2017

@prasmussen please review, this seems to be a much sought after feature...

@euklid euklid changed the title Use exponential back off for gdrive download and gdrive download query Feature/Bug Fix: Use exponential back off for gdrive download and gdrive download query Jun 9, 2017
@euklid euklid mentioned this pull request Aug 22, 2017
@h1rule
Copy link

h1rule commented Aug 28, 2017

Can you also do it for upload?

@the-kenny
Copy link

This should get implemented for every kind of download/upload/export operation. I need to export a bigger folder with gdrive export and each single export operation may fail with an export error.

@jvfiel
Copy link

jvfiel commented Aug 5, 2018

@euklid tried yours but didn't work for me. Did I miss something?

@euklid
Copy link
Author

euklid commented Oct 18, 2018

@jvfiel I don't have a need for this anymore, so I am sorry that I cannot provide any further help.

msfjarvis added a commit to msfjarvis/gdrive that referenced this pull request Nov 11, 2018
…wnload

Feature/Bug Fix: Use exponential back off for gdrive download and gdrive download query

* git://github.com/prasmussen/gdrive:
  Use exponential back off for gdrive download and gdrive download query
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants