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

increase number of files requested in document list #26

Open
jcline opened this issue May 4, 2012 · 1 comment
Open

increase number of files requested in document list #26

jcline opened this issue May 4, 2012 · 1 comment

Comments

@jcline
Copy link
Owner

jcline commented May 4, 2012

With a few thousand files, it's currently pretty slow even on a fast connection... The default is 100 files/request. Would changing that to 1000 slow down requests for users with <= 100 files? Would it be faster than 10 requests? Would a dynamic increase be more sensible? That is, request 100, then 200, then 400, then 800, etc. The limit is stated as 1000.

See: https://developers.google.com/google-apps/documents-list/#getting_all_pages_of_documents_and_files

jcline pushed a commit that referenced this issue May 8, 2012
@jcline
Copy link
Owner Author

jcline commented May 11, 2012

One thing worth checking on is if, now that the connection during the file list phase isn't destroyed and libcurl may be able to reuse it, this reduces the time required enough to reduce this value from 1000.

I should ask the Google Drive folks during their next office hours what they think is a good approach for the different use cases.

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

No branches or pull requests

1 participant