2
0
mirror of synced 2025-02-24 06:38:14 +00:00

Extend the dial timeout to 30s

This commit is contained in:
Matt Joiner 2014-08-22 17:40:22 +10:00
parent d3d6f460c9
commit 713cf7e71f

View File

@ -19,7 +19,7 @@ const (
maxRequests = 250 // Maximum pending requests we allow peers to send us.
chunkSize = 0x4000 // 16KiB
BEP20 = "-GT0000-" // Peer ID client identifier prefix
dialTimeout = time.Second * 15
dialTimeout = time.Second * 30
)
type (