No initial best-node update on startup #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Location:
mycelium/src/dns.rs-start_metric_checkerProblem:
update_best_nodeis only called on interval ticks (every 30s). For the first 30 seconds,best_nodeis always None, so fallback is always used. More importantly, no route requests are triggered until the first tick.Fix: Call
update_best_nodeonce immediately on startup before the interval loop.