brontide: increase timeout to 5s

This commit is contained in:
Olaoluwa Osuntokun 2018-04-05 15:54:47 -07:00
parent d6b9907cf5
commit 406fdbbf64
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

View File

@ -39,7 +39,7 @@ const (
// waiting for data payloads during the various acts of Brontide. If
// the remote party fails to deliver the proper payload within this
// time frame, then we'll fail the connection.
handshakeReadTimeout = time.Second * 1
handshakeReadTimeout = time.Second * 5
)
var (