really fix pruning of cancelled requests from queue

This commit is contained in:
Nick Hill 2023-05-16 14:26:46 -07:00
parent 51355ea722
commit 9b1868b2c2

View File

@ -456,7 +456,7 @@ impl<B: BatchType> State<B> {
batch_stats = next_stats;
chosen_indices.push(queue_index - 1);
chosen_indices.push(checked_up_to_index - 1);
total_count += 1;
if total_count >= config.size_limit {
break