From a14b897e0f87a6d94908af9c36d3735d50b3df9d Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Tue, 26 Mar 2024 16:23:50 -0700 Subject: [PATCH] Disable reducing retry counts (#1126) --- files/usr/local/bin/mgr/lqm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/usr/local/bin/mgr/lqm.lua b/files/usr/local/bin/mgr/lqm.lua index 8e141fc4..1f780d44 100755 --- a/files/usr/local/bin/mgr/lqm.lua +++ b/files/usr/local/bin/mgr/lqm.lua @@ -969,7 +969,7 @@ function lqm() -- Adjust retry attempts. If we're just managing a single connection, we can retry failed transmissions. -- If we're managing many, we can't afford the delays associated with retries, so reduce them to the minimum. -- Don't retry when distance is max because the delay makes thing unusable and blocks other closer traffic. - local short_retries + --[[local short_retries local long_retries if distance == config.max_distance or rfcount > 1 then short_retries = minimum_short_retries @@ -982,7 +982,7 @@ function lqm() iw_set("retry short " .. short_retries .. " long " .. long_retries) last_short_retries = short_retries last_long_retries = long_retries - end + end]]-- -- Save this for the UI f = io.open("/tmp/lqm.info", "w")