bug: fix some issues with config on bosminer.

This commit is contained in:
Upstream Data
2024-04-11 09:23:33 -06:00
parent 2815d2ba11
commit 4a1c53dfd7
4 changed files with 26 additions and 8 deletions

View File

@@ -98,7 +98,11 @@ class TestConfig(unittest.TestCase):
"dangerous_temp": 120,
},
"fan_control": {"min_fans": 2, "speed": 90},
"autotuning": {"enabled": True, "psu_power_limit": 3000},
"autotuning": {
"enabled": True,
"mode": "power_target",
"power_target": 3000,
},
"group": [
{
"name": "W91Q1L",
@@ -112,10 +116,10 @@ class TestConfig(unittest.TestCase):
"quota": 1,
}
],
"power_scaling": {
"performance_scaling": {
"enabled": True,
"power_step": 100,
"min_psu_power_limit": 2000,
"min_power_target": 2000,
"shutdown_enabled": True,
"shutdown_duration": 3,
},