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

fix: Fix high CPU usage #166

Merged
merged 1 commit into from
Feb 22, 2023
Merged

fix: Fix high CPU usage #166

merged 1 commit into from
Feb 22, 2023

Conversation

LeagueOfPoro
Copy link
Owner

Summary of Changes

Is past update, thread.join(1) was removed. This caused the main loop looping with no delay. Added sleep.

Additional context

Discord username (if different from GitHub): Poro

Testing instructions

How to download the PR for testing

Using GitHub CLI

  1. Clone this PR
  2. Run gh pr checkout 124 (Requires GitHub CLI)
  3. Follow the Advanced Installation Guides from the Wiki

Using regular GIT

  1. Fetch the PR git fetch origin pull/<PR_NUMBER>/head:<LOCAL_BRANCH_NAME> (e.g. git fetch origin pull/110/head:notif)
  2. Checkout the branch git checkout <LOCAL_BRANCH_NAME> (e.g. git checkout notif)
  3. Follow the Advanced Installation Guides from the Wiki

@LeagueOfPoro LeagueOfPoro merged commit b032a88 into master Feb 22, 2023
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