mirror of https://github.com/aredn/aredn.git
Increase Supernode pollrate (#984)
* Bump the OLSR poll rate on supernodes
This commit is contained in:
parent
1694e3a6c7
commit
205f6e4ad8
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue