Fix incorrect max boost when enabling threads #6
No reviewers
Labels
No labels
???
bug
docs
enhancement
help wanted
indev
question
research
tbr
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: NG-SD-Plugins/PowerTools#6
Loading…
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When you set the max boost, disabled threads won't be updated.
As a result, they will have the old max boost when enabled.
Steps to reproduce:
1: disable 1 or more threads
2: set the max boost
3: enable 1 or more threads
The re-enabled threads will have the old max boost.
This patch works by storing the max boost, which will be applied after enabling threads.
Thanks! I knew that this was technically a bug when I first designed the frequency functionality, but you actually made a much better way of handling it which also fixes the bug.