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

rate limit debug output in allow_untrustable_code() #483

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

bunnie
Copy link
Member

@bunnie bunnie commented Jan 25, 2024

No description provided.

@bunnie
Copy link
Member Author

bunnie commented Jan 25, 2024

The purpose is to rate limit the debug output during server poll of allow_untrustable_code(). Normally this polls in a tight loop which causes the console to be overwhelmed with a debug message. This rate limits the output to 1 message per 5 seconds, hopefully making it easier to debug problems with servers missing their registration of a secure context.

@bunnie bunnie merged commit 90c13c3 into main Jan 25, 2024
2 checks passed
@bunnie bunnie deleted the rate-limit-gam-debug branch January 29, 2024 16:05
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.

1 participant