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 sleep time, add time to debug log, cleaner RPM display #1

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

KBakyc
Copy link
Contributor

@KBakyc KBakyc commented Feb 24, 2024

Hi!
Nice program. The only thing I noticed was that when I changed the settings, the CPU started showing high load. I suspected that the refresh time was not what I had set in the settings. I found this problem in the code and tried to fix it to the best of my understanding.
The debugging of this process was helped by refined logging with indication of exact (in milliseconds) time. I decided to keep that too.
I also noticed that the RPM value is not well readable when it is not separated from the unit. I took the liberty of fixing that too :)
I hope my contribution will be useful.

Copy link
Owner

@Legend0fHell Legend0fHell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greetings!

I have rechecked everything in the MainThread() function and yes there is a chance that it will cause problems. Switching to the other method helped resolving it!

I honestly thought this repo won't gain any traction so a PR is kinda suprising to me :D. Thanks for the contribution!

@Legend0fHell Legend0fHell merged commit bdd141f into Legend0fHell:master Feb 24, 2024
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.

2 participants