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

Prevent rate limiting by StatusCake #5

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

robinderooij-rl
Copy link

To prevent rate limiting with StatusCake two new things have been introduced. First of all, we cache the results of the GetAll function, so that it does not have to retrieve the status monitors every time.

Secondly, I added a latency after adding a monitor. Because even when the results are cached, if several monitors have to be added in a row, it will be invalidated and still hit the rate limit.

To prevent rate limiting with StatusCake two new things have
been introduced. First of all, we cache the results of the
GetAll function, so that it does not have to retrieve the status
monitors everytime.

Secondly, I added a latency after adding a monitor. Because even
when the results are cached, if several monitors have to be added
in a row, it will be invalidated and still hit the rate limit.
@robinderooij-rl robinderooij-rl force-pushed the statuscake-find-by-name-check branch from c4c5e6b to c8e5a2a Compare November 19, 2024 13:42
@robinderooij-rl robinderooij-rl merged commit d444e10 into master Nov 19, 2024
1 check passed
@robinderooij-rl robinderooij-rl deleted the statuscake-find-by-name-check branch November 19, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants