summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-hnet
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-04-27 20:43:05 +0200
committerJo-Philipp Wich <jo@mein.io>2022-04-27 20:43:05 +0200
commit1ae142d7d11862b11a6e0cea06562875cc778ae7 (patch)
treeb7fc97375bc25e402f160dee9f8edca2e954faf2 /protocols/luci-proto-hnet
parent2f80fe3767207e2dbb8c5286603f49808b66a60d (diff)
luci-mod-network: diagnostics: peg max traceroute hops to rpc timeout
In the worst case, traceroute might take up to 30s to complete when tracing a completely unreachable path, due to the default limit of 30 hops multiplied by the per-hop deadline of 1 second (-w 1). Limit the maximum amount of hops to the configured rpc execution timeout, 20 second by default, in order to avoid running into timed out rpc requests. Fixes: #5782 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-hnet')
0 files changed, 0 insertions, 0 deletions