We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c01eb commit e88c0b3Copy full SHA for e88c0b3
mycelium/src/router.rs
@@ -458,6 +458,11 @@ where
458
/// This is called when a route query times out or when we lose a route.
459
fn drop_queued_packets(&self, subnet: Subnet) {
460
let packets = self.packet_queue.drop_subnet(subnet, &self.metrics);
461
+ debug!(
462
+ packets = packets.len(),
463
+ %subnet,
464
+ "Dropping pending packets for subnet"
465
+ );
466
for packet_data in packets {
467
if let QueuedPacketData::Unencrypted(p) = packet_data {
468
if let Err(e) = self.timeout_packet_tx.send(p) {
0 commit comments