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.
@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!
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!