machine-status: Render new queue runner details

This commit is contained in:
Janne Heß
2025-07-31 16:26:06 +02:00
committed by ahuston-0
parent 81d278fe5b
commit ea2024a9bc
4 changed files with 69 additions and 2 deletions

View File

@@ -363,6 +363,14 @@ sub getMachines {
, speedFactor => $machine->{speedFactor}
, supportedFeatures => [ @{$machine->{supportedFeatures}}, @{$machine->{mandatoryFeatures}} ]
, mandatoryFeatures => [ @{$machine->{mandatoryFeatures}} ]
# New fields for the machine status
, primarySystemType => $machine->{systems}[0]
, hasCapacity => $machine->{hasCapacity}
, hasDynamicCapacity => $machine->{hasDynamicCapacity}
, hasStaticCapacity => $machine->{hasStaticCapacity}
, score => $machine->{score}
, stats => $machine->{stats}
, memTotal => $machine->{totalMem}
};
}
} else {