Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
fixup! feat: don't block on sending on a full channel in primary
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Aug 8, 2022
1 parent 147e92d commit ff03272
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions primary/src/header_waiter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,8 @@ impl HeaderWaiter {
match message {
ReconfigureNotification::NewEpoch(new_committee) => {
// Update the committee and cleanup internal state.
self.primary_network
.cleanup(self.committee.network_diff(&committee));
self.worker_network
.cleanup(self.committee.network_diff(&committee));
self.primary_network.cleanup(self.committee.network_diff(&new_committee));
self.worker_network.cleanup(self.committee.network_diff(&new_committee));

self.committee = new_committee;

Expand Down

0 comments on commit ff03272

Please sign in to comment.