Skip to content

Conversation

@kwhite
Copy link
Contributor

@kwhite kwhite commented Mar 24, 2017

Hi!

I was using your awesome package to import a slew of issues, and bumped up against the abuse rate limit. GitHub will only allow ~25 concurrent content creation requests from a single GitHub user before it shuts you down. So I've added bottleneck and some simple throttling to keep this to 20 open requests sent 200ms apart.

I also added milestones (because I needed them) and did a little work on the JSON output; for me, if I had an empty string value in the labels array for some requests GitHub was not happy with me.

Hope this is helpful!

kwhite added 2 commits March 24, 2017 15:03
Adding milestone support and throttling requests down below the GitHub abuse threshold for concurrent open requests by a single user.

Also doing a little bit of cleanup on the JSON so that the API doesn’t barf over empty values.
@gavinr
Copy link
Owner

gavinr commented Mar 27, 2017

@kwhite thanks so much for the PR! Great to see someone else getting use of the tools. The code looks good to me; I'll test it later today or tomorrow and then merge it in. Thanks!

@gavinr gavinr merged commit c325363 into gavinr:master Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants