fix: increase chat2 timeout

This commit is contained in:
Richard Ramos 2022-08-26 21:54:25 -04:00
parent a1e5b587a2
commit c05a40d246
No known key found for this signature in database
GPG Key ID: BD36D48BC9FFC88C
1 changed files with 1 additions and 1 deletions

View File

@ -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 {