mirror of https://github.com/status-im/nim-eth.git
More sensible timeout values for the Whisper/Waku handshake
This commit is contained in:
parent
18799f1491
commit
419bc4730d
|
@ -254,7 +254,7 @@ p2pProtocol Waku(version = wakuVersion,
|
|||
topicInterest: wakuNet.config.topics)
|
||||
|
||||
let m = await peer.status(wakuVersion, list,
|
||||
timeout = chronos.milliseconds(500))
|
||||
timeout = chronos.milliseconds(5000))
|
||||
|
||||
if m.protocolVersion == wakuVersion:
|
||||
debug "Waku peer", peer, wakuVersion
|
||||
|
|
|
@ -131,7 +131,7 @@ p2pProtocol Whisper(version = whisperVersion,
|
|||
cast[uint64](whisperNet.config.powRequirement),
|
||||
@(whisperNet.config.bloom),
|
||||
whisperNet.config.isLightNode,
|
||||
timeout = chronos.milliseconds(500))
|
||||
timeout = chronos.milliseconds(5000))
|
||||
|
||||
if m.protocolVersion == whisperVersion:
|
||||
debug "Whisper peer", peer, whisperVersion
|
||||
|
|
Loading…
Reference in New Issue