Disable reducing retry counts (#1126)

This commit is contained in:
Tim Wilkinson 2024-03-26 16:23:50 -07:00 committed by GitHub
parent ff02f129f3
commit a14b897e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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")