mirror of https://github.com/aredn/aredn.git
Disable reducing retry counts (#1126)
This commit is contained in:
parent
ff02f129f3
commit
a14b897e0f
|
@ -969,7 +969,7 @@ function lqm()
|
||||||
-- Adjust retry attempts. If we're just managing a single connection, we can retry failed transmissions.
|
-- 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.
|
-- 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.
|
-- 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
|
local long_retries
|
||||||
if distance == config.max_distance or rfcount > 1 then
|
if distance == config.max_distance or rfcount > 1 then
|
||||||
short_retries = minimum_short_retries
|
short_retries = minimum_short_retries
|
||||||
|
@ -982,7 +982,7 @@ function lqm()
|
||||||
iw_set("retry short " .. short_retries .. " long " .. long_retries)
|
iw_set("retry short " .. short_retries .. " long " .. long_retries)
|
||||||
last_short_retries = short_retries
|
last_short_retries = short_retries
|
||||||
last_long_retries = long_retries
|
last_long_retries = long_retries
|
||||||
end
|
end]]--
|
||||||
|
|
||||||
-- Save this for the UI
|
-- Save this for the UI
|
||||||
f = io.open("/tmp/lqm.info", "w")
|
f = io.open("/tmp/lqm.info", "w")
|
||||||
|
|
Loading…
Reference in New Issue