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

Asynchronous/Parallel Downloads #5

Open
modelmat opened this issue Sep 30, 2018 · 5 comments
Open

Asynchronous/Parallel Downloads #5

modelmat opened this issue Sep 30, 2018 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@modelmat
Copy link

With almost 7000 files it has taken me 2 hours to download my folders.
This is rather slow.
Is it possible to download multiple files at once to speed up synchronisation?

@gzxu
Copy link
Owner

gzxu commented Sep 30, 2018

Yes it is exactly an issue as stated in https://github.com/gzxu/onedrive-sync-client#future-works

Download and upload manager with multi-threading support

Seeking for help 🤔

@gzxu gzxu added enhancement New feature or request help wanted Extra attention is needed labels Sep 30, 2018
@modelmat
Copy link
Author

modelmat commented Sep 30, 2018

Oh, okay. must've missed that.

To get around rate limiting I wonder if authing multiple tokens would allow you to increase it by using them separately.

@gzxu
Copy link
Owner

gzxu commented Oct 2, 2018

I didn't noticed the rate limiting issue, but would multiple tokens help?

https://developer.microsoft.com/en-us/graph/docs/concepts/throttling

@modelmat
Copy link
Author

modelmat commented Oct 2, 2018

no rate limiting at the moment, but multiple threads could trigger it. I'm not sure how much Microsoft limits. it, but it is limited per auth token usually. (hence why multiple would work)

@gzxu
Copy link
Owner

gzxu commented Oct 8, 2018

Okay, it worths a try. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants