Extend the dial timeout to 30s
This commit is contained in:
parent
d3d6f460c9
commit
713cf7e71f
2
misc.go
2
misc.go
@ -19,7 +19,7 @@ const (
|
|||||||
maxRequests = 250 // Maximum pending requests we allow peers to send us.
|
maxRequests = 250 // Maximum pending requests we allow peers to send us.
|
||||||
chunkSize = 0x4000 // 16KiB
|
chunkSize = 0x4000 // 16KiB
|
||||||
BEP20 = "-GT0000-" // Peer ID client identifier prefix
|
BEP20 = "-GT0000-" // Peer ID client identifier prefix
|
||||||
dialTimeout = time.Second * 15
|
dialTimeout = time.Second * 30
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user