diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2024-11-07 20:05:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 20:05:54 +0100 |
| commit | 279f2a3e54c5b25b58e187a7c89bbddabe5b2724 (patch) | |
| tree | cd149bca6a6db40c750d6add5a4973a1c18eb184 /opendc-compute/opendc-compute-topology | |
| parent | 4e8ca5d246d72e16a8adaf02ccf4ac02f23977c8 (diff) | |
Fixed power source bug (#265)
* Fixed a small bug making the power source not update energy usage properly
* small update to the test
Diffstat (limited to 'opendc-compute/opendc-compute-topology')
| -rw-r--r-- | opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/specs/TopologySpecs.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/specs/TopologySpecs.kt b/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/specs/TopologySpecs.kt index cdc1d96a..39b95347 100644 --- a/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/specs/TopologySpecs.kt +++ b/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/specs/TopologySpecs.kt @@ -151,7 +151,7 @@ public data class PowerSourceJSONSpec( public companion object { public val DFLT: PowerSourceJSONSpec = PowerSourceJSONSpec( - totalPower = 10000, + totalPower = Long.MAX_VALUE, ) } } |
