Increase Supernode pollrate (#984)

* Bump the OLSR poll rate on supernodes
This commit is contained in:
Tim Wilkinson 2023-12-06 12:14:17 -08:00 committed by GitHub
parent 1694e3a6c7
commit 205f6e4ad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ config olsrd
option RtTableDefault '31'
option LinkQualityAlgorithm 'etx_ffeth'
option AllowNoInt 'yes'
option Pollrate '<olsrd_pollrate>'
config LoadPlugin
option library 'olsrd_arprefresh.so.0.1'

View File

@ -119,6 +119,7 @@ local cfg = {
dtdlink_network_config = "",
wifi_network_config = "",
olsrd_dtd_interface_mode = "ether",
olsrd_pollrate = "0.05",
tun_network_config = "",
wireguard_network_config = ""
}
@ -194,6 +195,7 @@ end
local is_supernode = (cm:get("aredn", "@supernode[0]", "enable") == "1")
if is_supernode then
cfg.olsrd_dtd_interface_mode = "isolated"
cfg.olsrd_pollrate = "0.01"
end
-- delete some config lines if necessary