Skip to content

Commit

Permalink
fix: reduce max packet receive time during leader window (#2801)
Browse files Browse the repository at this point in the history
(cherry picked from commit 20e0df4)
  • Loading branch information
cavemanloverboy authored and mergify[bot] committed Jan 20, 2025
1 parent 89906f3 commit b75eea9
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 b75eea9

Please sign in to comment.