every LRM round is scheduled to run for 10s but we spend only half
of that to actively trying to run workers (in the max_worker limit).
Raise that to 80% duty cycle.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
$worker->{$b}->{start_tries} <=> $worker->{$a}->{start_tries} || $a cmp $b
};
- while (($haenv->get_time() - $starttime) < 5) {
+ while (($haenv->get_time() - $starttime) <= 8) {
my $count = $self->check_active_workers();
for my $sid (sort $fair_sorter grep { !$worker->{$_}->{pid} } keys %$worker) {