Skip to content

Commit

Permalink
v2.0: fix: reduce max packet receive time during leader window (backp…
Browse files Browse the repository at this point in the history
…ort of #2801) (#4544)

fix: reduce max packet receive time during leader window (#2801)

(cherry picked from commit 20e0df4)

Co-authored-by: cavemanloverboy <93507302+cavemanloverboy@users.noreply.github.com>
  • Loading branch information
mergify[bot] and cavemanloverboy authored Jan 22, 2025
1 parent 491edeb commit 4c817c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ impl SchedulerController {
fn receive_and_buffer_packets(&mut self, decision: &BufferedPacketsDecision) -> bool {
let remaining_queue_capacity = self.container.remaining_queue_capacity();

const MAX_PACKET_RECEIVE_TIME: Duration = Duration::from_millis(100);
const MAX_PACKET_RECEIVE_TIME: Duration = Duration::from_millis(10);
let (recv_timeout, should_buffer) = match decision {
BufferedPacketsDecision::Consume(_) => (
if self.container.is_empty() {
Expand Down

0 comments on commit 4c817c2

Please sign in to comment.