Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ratelimited and fails when too many repos #580

Open
DiegoRBaquero opened this issue Feb 17, 2022 · 2 comments
Open

Ratelimited and fails when too many repos #580

DiegoRBaquero opened this issue Feb 17, 2022 · 2 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@DiegoRBaquero
Copy link
Contributor

Did a migration on 87 repos and will always fail around the 75th~ repo, the remaining 12 won't get PRs.

The throttling should be more than 5 seconds and a few retriers, it should be exponential

@aorinevo aorinevo self-assigned this Feb 17, 2022
@aorinevo aorinevo added the bug Something isn't working label Feb 17, 2022
@aorinevo
Copy link
Collaborator

Interesting! Would you be open to investigating a fix for this?

@aorinevo aorinevo added the good first issue Good for newcomers label Feb 17, 2022
@danpilch
Copy link

I managed to use this one liner to get around it manually:

ls ~/.shepherd/shepherd-migration/repos/Org | xargs -I {} sh -c 'shepherd pr migration_name --repos Org/{} && sleep 10'

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants