From 6f1ccf14e9a7c34a5138ed77d9e891a6bb29f7ed Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Mon, 4 Mar 2019 13:55:09 -0800 Subject: [PATCH] Revert "peer: reduce write timeout to 10s" This reverts commit db2c104111c3c12e1651120fe5a51ce03dad8c58. --- peer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peer.go b/peer.go index 504276fd..b0a9aac8 100644 --- a/peer.go +++ b/peer.go @@ -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.