]> git.proxmox.com Git - pve-ha-manager.git/commit
manager: avoid scoring nodes when not trying next and current node is valid
authorFiona Ebner <f.ebner@proxmox.com>
Thu, 17 Nov 2022 14:00:13 +0000 (15:00 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Nov 2022 12:25:21 +0000 (13:25 +0100)
commitc724ce1be787764baa8f2a3e0e7961de4eb4dfa0
tree6ac3ec460b06b494ccc208ec17086bfb8c9a409e
parent631ba60ef220be0574017d4b4ea23a39323759a6
manager: avoid scoring nodes when not trying next and current node is valid

With the Usage::Static plugin, scoring is not as cheap anymore and
select_service_node() is called for each running service.

This should cover most calls of select_service_node().

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/HA/Manager.pm