zcash: increase connection timeouts

This almost doubles the number of hosts we can successfully contact.
This commit is contained in:
George Tankersley 2020-05-23 16:56:15 -04:00
parent d6db4e38ec
commit 83f92c01a9
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ var (
minimumReadyAddresses = 10
// The maximum amount of time we will wait for a peer to complete the initial handshake
maximumHandshakeWait = 1 * time.Second
maximumHandshakeWait = 2 * time.Second
// The timeout for the underlying dial to a peer
connectionDialTimeout = 1 * time.Second
connectionDialTimeout = 2 * time.Second
// The amount of time crawler goroutines will wait after the last new incoming address
crawlerThreadTimeout = 30 * time.Second