SimplyStaking/panic

GitHub monitoring limitations

dillu24 opened this issue · 0 comments

User Story

As it is, there are limitations as to how many github repos you can add for monitoring, because the GitHub API accepts only 60 requests per hour. This means that at most, the user can add 60 repos for monitoring.

Requirements

The aim of this ticket is to investigate and implement the possibility of increasing this limit by incorporating the GITHUB_API_TOKEN mechanism

Acceptance criteria

Scenario: Adding 3 github repos to panic
Given: The request rate limit from the .env file is set to 10 seconds (means 360 requests per hour)
When: The user starts panic
And: Left panic running for an hour
Then: The limit is never reached