Hi!
I’m testing github protection. Repository part works well (it generates simple git clone script). Later it starts API call to get “issues” and “pull request” via API :
79957 13866 09/23 10:32:01 749 CGitHubOperations::AddPullRequestCommentsAndReviewsToFile(605) - URL [https://api.github.com/repos/ble/ble/issues/2121/comments?sort=updated&per_page=100]
[...]
79957 13866 09/23 10:42:28 749 CGitHubOperations::AddPullRequestCommentsAndReviewsToFile(605) - URL [https://api.github.com/repos/ble/ble/pulls/743/reviews?per_page=100]
Random production repo (~2500 commits) saturates hourly API limit for github enterprise :
588889 8fc75 09/25 11:15:13 5087419 CGitHubConnection::ExecuteRequestWithRetry(58) - The GitHub API Interface has reached the rate limit
588889 8fc75 09/25 11:15:13 5087419 CGitConnection::SleepBeforeRetry(221) - API rate limit reset header:[X-RateLimit-Reset: 1695633798]
588889 8fc75 09/25 11:15:13 5087419 CGitConnection::SleepBeforeRetry(230) - API rate limit reset time:[1695633798]
588889 8fc75 09/25 11:15:13 5087419 CGitConnection::SleepBeforeRetry(241) - Will retry after 485 seconds
Two questions :
- is high API call usage expected? No option to use some kind of bulk requests? Now there is a loop for each commit.
- is there an option to disable API part (no issues and pull requests detail) and protect only raw repository data?
Thanks.