Skip to content

Conversation

@ccl0326
Copy link

@ccl0326 ccl0326 commented Sep 5, 2016

as title.

@ccl0326
Copy link
Author

ccl0326 commented Sep 8, 2016

hi,@rande can you follow this pr? we need fix the default limit number, if you consider this is fine, i can rewrite a push request more robust.

if err == nil {
projects = append(projects, pageProjects...)
page++
if len(pageProjects) < max_page_size {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you'll have an extra call if the last page contains extactly max_page_size items.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants