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

Increase the poll interval to reduce CPU consumption #543

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StdioA
Copy link
Contributor

@StdioA StdioA commented Aug 12, 2024

The CPU usage is high when Webhook server is enabled, and I found it caused by the asyncio.sleep with too short interval.

If it's hard to fix the "thread pool with asyncio" issue, I want to increase the poll interval when the queue is empty.

Copy link

codeclimate bot commented Aug 12, 2024

Code Climate has analyzed commit 8e2da17 and detected 0 issues on this pull request.

View more on Code Climate.

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