Skip to content

Commit

Permalink
fix: reduce max packet receive time during leader window
Browse files Browse the repository at this point in the history
  • Loading branch information
cavemanloverboy committed Aug 30, 2024
1 parent b9c9ecc commit ed9b1bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,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 ed9b1bb

Please sign in to comment.