Skip to content

Commit

Permalink
Increase timeout of QCMP distance measurement (googleforgames#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky authored Aug 21, 2024
1 parent d009048 commit 0af0ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec/qcmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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??;
Expand Down

0 comments on commit 0af0ece

Please sign in to comment.