From 0af0eceebb135e056c2607770698c2314c8a0c42 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:12:46 +0200 Subject: [PATCH] Increase timeout of QCMP distance measurement (#1006) --- src/codec/qcmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codec/qcmp.rs b/src/codec/qcmp.rs index e91f52bdc..c3af41f6d 100644 --- a/src/codec/qcmp.rs +++ b/src/codec/qcmp.rs @@ -171,7 +171,7 @@ impl Measurement for QcmpMeasurement { let mut recv = [0u8; 512]; let (size, _) = tokio::time::timeout( - std::time::Duration::from_millis(500), + std::time::Duration::from_secs(5), self.socket.recv_from(&mut recv), ) .await??;