From 14fd1b869380f6bf0420e8e3db7cf1aad8f7107a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Fri, 11 Nov 2016 14:53:21 +0100 Subject: [PATCH] ulog_stream_ack.msg: lower timeout & increase max retries We expect a short round-trip time, so lowering the retry timeout will increase throughput on links with high drop rate. --- msg/ulog_stream_ack.msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msg/ulog_stream_ack.msg b/msg/ulog_stream_ack.msg index c155b2a875..b293f5c496 100644 --- a/msg/ulog_stream_ack.msg +++ b/msg/ulog_stream_ack.msg @@ -1,7 +1,7 @@ # Ack a previously sent ulog_stream message that had # the NEED_ACK flag set -int32 ACK_TIMEOUT = 300 # timeout waiting for an ack until we retry to send the message [ms] -int32 ACK_MAX_TRIES = 9 # maximum amount of tries to (re-)send a message, each time waiting ACK_TIMEOUT ms +int32 ACK_TIMEOUT = 50 # timeout waiting for an ack until we retry to send the message [ms] +int32 ACK_MAX_TRIES = 50 # maximum amount of tries to (re-)send a message, each time waiting ACK_TIMEOUT ms uint16 sequence