[pve-devel] [PATCH ha-manager 02/11] resources: add get_static_stats() method
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Nov 16 09:59:20 CET 2022
Am 16/11/2022 um 09:46 schrieb Fiona Ebner:
>>> + return {
>>> + maxcpu => $conf->{vcpus} || $cpus,
>>> + maxmem => ($conf->{memory} || $defaults->{memory}) * 1024 * 1024,
>> same here. As this is just internal we can also adapt it later though..
>>
> Well, the Rust backend also uses 'maxcpu' and 'maxmem' currently :/
> So at least in Usage/Static.pm, it will be more difficult to change later.
hmm then we should switch now (over never speak of this again ;), I'll survive
if it stays that way too, just mentioned it due to finding it harder to read
without real benefit.
More information about the pve-devel
mailing list