Skip to content

Commit

Permalink
don't count dropped message in batch (#657)
Browse files Browse the repository at this point in the history
don't count dropped
  • Loading branch information
philsippl authored Nov 5, 2024
1 parent bac13ee commit 391225f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ async fn receive_batch(

if skip_request_ids.contains(&smpc_request.signup_id) {
// Some party (maybe us) already meant to delete this request, so we
// skip it.
// skip it. Ignore this message when calculating the batch size.
msg_counter -= 1;
continue;
}

Expand Down

0 comments on commit 391225f

Please sign in to comment.