mirror of https://github.com/status-im/go-waku.git
fix: increase chat2 timeout
This commit is contained in:
parent
a1e5b587a2
commit
c05a40d246
|
@ -505,7 +505,7 @@ func (c *Chat) discoverNodes(connectionWg *sync.WaitGroup) {
|
|||
return
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Duration(3)*time.Second)
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Duration(7)*time.Second)
|
||||
defer cancel()
|
||||
err = c.node.DialPeerWithMultiAddress(ctx, addr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue