Request to add a parameter to gh gei migrate-repo
Open
- Dominant language
- C#
- Stars
- 478
- Forks
- 146
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 2
Description
## Description
Hi Team
gh gei migrate-repo performs a status check every 10 seconds.
```
private const int CHECK_STATUS_DELAY_IN_MILLISECONDS = 10000; // 10 seconds
```
https://github.com/github/gh-gei/blob/67a062c20245127c46c444f8d81b3356252b104e/src/gei/Commands/MigrateRepo/MigrateRepoCommandHandler.cs#L29C23-L29C57
For GHEC, the default rate limit is 5,000/h, and the rate limit is reached when migrating 100+ repos.
To prevent this, it would be better to set the status check interval as a parameter instead of the default value.
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.