Skip to content

Commit

Permalink
chore: shrink request buffer (paradigmxyz#3363)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jun 23, 2023
1 parent cff4aa7 commit a3c66f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/net/network/src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,8 @@ where
}
}

this.inflight_requests.shrink_to_fit();

this.update_import_metrics();

// Advance all imports
Expand Down

0 comments on commit a3c66f3

Please sign in to comment.