Lower timer to 20ms

This commit is contained in:
Jon Häggblad
2024-02-05 13:14:45 +01:00
parent e4479f2655
commit 25e35384d9
@@ -118,7 +118,7 @@ impl TunListener {
let mut bundled_packet_codec = mixnet_listener::BundledIpPacketCodec::new();
// tokio timer for flushing the buffer
let mut bundle_timer = tokio::time::interval(Duration::from_millis(100));
let mut bundle_timer = tokio::time::interval(Duration::from_millis(20));
while !self.task_client.is_shutdown() {
tokio::select! {