Merge pull request #2732 from cfromknecht/revert-write-timeout-reduction

Revert "peer: reduce write timeout to 10s"
This commit is contained in:
Olaoluwa Osuntokun 2019-03-05 14:33:18 -08:00 committed by GitHub
commit 8b1321d29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,8 +44,8 @@ const (
// idleTimeout is the duration of inactivity before we time out a peer.
idleTimeout = 5 * time.Minute
// writeMessageTimeout is the timeout used when writing a message to a peer.
writeMessageTimeout = 10 * time.Second
// writeMessageTimeout is the timeout used when writing a message to peer.
writeMessageTimeout = 50 * time.Second
// readMessageTimeout is the timeout used when reading a message from a
// peer.