SimplyStaking / panic

PANIC Monitoring and Alerting For Blockchains
Apache License 2.0
81 stars 31 forks source link

GitHub monitoring limitations #375

Open dillu24 opened 1 year ago

dillu24 commented 1 year ago

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