Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quality-of-service.rb does too much in one go #151

Open
yegor256 opened this issue Jul 23, 2024 · 0 comments
Open

quality-of-service.rb does too much in one go #151

yegor256 opened this issue Jul 23, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yegor256
Copy link
Member

Currently, the quality-of-service.rb script tries to collect all possible data in one step. This inevitably leads to GitHub API blockage -- they simply don't like us making so many requests in such a short period of time.

One solution would be to make long pauses between steps inside the quality-of-service.rb script, such as 5-10 seconds.

Another solution would be to split the process into a few steps: on each step we collect certain metric, add it to the existing fact, and quit. On the next run of the script, we collect another metric, and so on.

Maybe, we can use both approaches.

@yegor256 yegor256 added bug Something isn't working help wanted Extra attention is needed labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant