luci/modules/luci-mod-network/htdocs
Jo-Philipp Wich 1ae142d7d1 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>
2022-04-27 20:43:05 +02:00
..
luci-static/resources luci-mod-network: diagnostics: peg max traceroute hops to rpc timeout 2022-04-27 20:43:05 +02:00