LeagueOfPoro / CapsuleFarmerEvolved

Automatically drops from lolesports.com and farm Esports Capsules
Other
813 stars 128 forks source link

fix: Fix high CPU usage #166

Closed LeagueOfPoro closed 1 year ago

LeagueOfPoro commented 1 year ago

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