Skip to content

Request to add a parameter to gh gei migrate-repo #1497

@Jay-jakwak4

Description

@Jay-jakwak4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions