Bug 35826: Keep items on retry.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Andreas Jonsson 2024-03-10 19:49:40 +01:00 committed by Katrin Fischer
parent 6903f00099
commit 2382eaff28
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 0 additions and 11 deletions

View File

@ -516,17 +516,6 @@ RETRY:
}
}
# Remove any item which have no finite transport cost with respect to any of the hold requests.
for ( my $i = 0, my $i0 = 0 ; $i < $num_agents ; $i++ ) {
if ( !$candidate_agents[$i] ) {
splice @m, $i - $i0, 1;
splice @remaining_items, $i - $i0, 1;
$i0++;
}
}
$num_agents = scalar(@remaining_items);
# Remove any hold request for which there is no finite transport cost item available.
my $removed_something = 0;