Fix incorrect max boost when enabling threads #6

Merged
loki-47-6F-64 merged 1 commit from main into main 2022-05-12 21:38:21 +01:00
loki-47-6F-64 commented 2022-05-12 21:17:16 +01:00 (Migrated from github.com)

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.

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.
NGnius (Migrated from github.com) approved these changes 2022-05-12 21:37:52 +01:00
NGnius (Migrated from github.com) left a comment

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.

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.
Sign in to join this conversation.
No description provided.