Explorar o código

Decreases how long the packet fragmentation cache holds a packet from 60s -> 5s

Benjamin Brittain %!s(int64=2) %!d(string=hai) anos
pai
achega
9995ce8070
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/iface/interface.rs

+ 1 - 1
src/iface/interface.rs

@@ -1665,7 +1665,7 @@ impl<'a> InterfaceInner<'a> {
                             frag.datagram_size() as usize - uncompressed_header_size
                                 + compressed_header_size
                         ),
-                        self.now + Duration::from_secs(60),
+                        self.now + Duration::from_secs(5),
                         -((uncompressed_header_size - compressed_header_size) as isize),
                     ));
                 }