good morning!!!!

Skip to content
Snippets Groups Projects
Commit d5acc5ed authored by Felix Lange's avatar Felix Lange Committed by Péter Szilágyi
Browse files

p2p: ensure Server.loop is ticking even if discovery hangs (#20573)

This is a temporary fix for a problem which started happening when the
dialer was changed to read nodes from an enode.Iterator. Before the
iterator change, discovery queries would always return within a couple
seconds even if there was no Internet access. Since the iterator won't
return unless a node is actually found, discoverTask can take much
longer. This means that the 'emergency connect' logic might not execute
in time, leading to a stuck node.
parent fcafa0ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment