termie / lp2gh

launchpad to github migration tool
19 stars 13 forks source link

Script hits GitHub rate limits #6

Open ericwb opened 6 years ago

ericwb commented 6 years ago

I tried using lp2gh-import-bugs and it failed after hitting GitHub's abuse rate limits.

exception: {"message":"You have triggered an abuse detection mechanism and have been temporarily blocked from content creation. Please retry your request again later.","documentation_url":"https://developer.github.com/v3/#abuse-rate-limits"}

Is there any way to slow down the import? Like adding a 1 second pause between issue creates?

termie commented 6 years ago

there are a couple pull requests open that do just that, I've unfortunately not looked at this project in a long time, but try using:

https://github.com/termie/lp2gh/pull/4/files or https://github.com/termie/lp2gh/pull/3/files