policy: only select candidates with better load
authorDavid Bauer <mail@david-bauer.net>
Tue, 21 Dec 2021 12:24:14 +0000 (13:24 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 9 Jan 2022 01:01:05 +0000 (02:01 +0100)
commit918b809d6465a18444f7796ead1251c5a37dc6f9
tree37a00ed5d66ed992d04b1e0075624a19850d8390
parent55e98d852c03a22cdbcd9fddbbdc86ed8b3b13e1
policy: only select candidates with better load

When kicking clients due to high channel load, explicitly only select
new candidates in case their channel load is an improvement over the
current node.

Signed-off-by: David Bauer <mail@david-bauer.net>
policy.c