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

Reset throttle count on successful connection #27

Open
earnjam opened this issue Aug 10, 2023 · 0 comments
Open

Reset throttle count on successful connection #27

earnjam opened this issue Aug 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@earnjam
Copy link
Member

earnjam commented Aug 10, 2023

When a site attempts to self-connect, we increment the throttle counter. This helps with the back-off timing for successive connection failures to prevent performance issues on a site, or a site sending many repeated Hiive connection requests.

However, once a site is successful in connecting (a new token is stored) we should clear this throttle counter value, or reset it to 0.

@earnjam earnjam added the bug Something isn't working label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant