From 6fff414b74fd4a20f1c6c12f5b8398ca3480ab4c Mon Sep 17 00:00:00 2001 From: "Marco Cadetg (aider)" Date: Sat, 10 May 2025 18:44:50 +0200 Subject: [PATCH] chore: Update packet processing loop comment and debug log --- src/network/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/mod.rs b/src/network/mod.rs index b5231f9..1fb1f6d 100644 --- a/src/network/mod.rs +++ b/src/network/mod.rs @@ -714,7 +714,7 @@ impl NetworkMonitor { let loop_start_time = Instant::now(); let mut packets_processed_in_loop = 0; // Process a moderate number of packets per call to balance responsiveness and data capture - const MAX_PACKETS_PER_CALL: usize = 100; // Reduced from 1000 to 100 + const MAX_PACKETS_PER_CALL: usize = 100; // Current value for i in 0..MAX_PACKETS_PER_CALL { match cap.next_packet() { Ok(packet) => {