You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a fairly small repo with 229 issues that gets stalled around Issue 40 with the following message:
Migrating issue #40 ('[PLACEHOLDER] - for issue #40')...
Abuse detected for request POST /repos/{owner}/{repo}/issues
Retrying after 1000 seconds!
At this point I can leave it running for hours and it won't ever finish. Is there some way I can throttle back API usage or avoid this some other way? Stopping and restarting doesn't help as it 1) starts from the beginning again and 2) I hit the "Abuse detected" immediately. This has a side-effect of ticking off Github such that when I try to file an issue, it is rejected with There was an error creating your Issue: was submitted too quickly.
The text was updated successfully, but these errors were encountered:
Putting a quick-and-dirty delay of ten seconds at the beginning of the for loop in transferIssues() seems to allow the transfer to take place without provoking Github's abuse-detector. I'm not sure what the shortest acceptable delay is -- hopefully a lot less because transferring https://github.com/DavidGriffith/minipro-import-test from Gitlab took a couple hours. Is simply sticking in a delay the right way to do this? If so, I'll polish this fix up and submit a pull request.
DavidGriffith
changed the title
"Abuse detected" slowdowns
"Abuse detected" slowdowns and possible solution
Sep 22, 2023
@DavidGriffith Could you please share a copy or at least a diff of your transferIssues() function with the delay? There are two for loops in that function. I guess the second loop is where the delay is?
I have a fairly small repo with 229 issues that gets stalled around Issue 40 with the following message:
At this point I can leave it running for hours and it won't ever finish. Is there some way I can throttle back API usage or avoid this some other way? Stopping and restarting doesn't help as it 1) starts from the beginning again and 2) I hit the "Abuse detected" immediately. This has a side-effect of ticking off Github such that when I try to file an issue, it is rejected with
There was an error creating your Issue: was submitted too quickly.
The text was updated successfully, but these errors were encountered: