Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
497937a833 |
+1
-1
@@ -22,7 +22,7 @@ def logic(plant):
|
||||
cpu = plant.state.get("deb13kde-cpu", 0.0)
|
||||
ram = plant.state.get("deb13kde-ram", 0.0)
|
||||
|
||||
load_index = (cpu + ram) / 2.0
|
||||
load_index = (cpu * 3.0 + ram) / 4.0
|
||||
|
||||
batch = plant.new_write_batch()
|
||||
batch.add(ID_LOAD_INDEX, load_index, "deb13kde-load-index")
|
||||
|
||||
Reference in New Issue
Block a user