From 42ad9f8b0292aaa6e4c2f269e02fbe79e40a4bdc Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 30 Dec 2013 21:32:20 -0500 Subject: [PATCH] Increase ping timeout --- protocol/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/protocol.go b/protocol/protocol.go index 0eef04e57..80e93d55b 100644 --- a/protocol/protocol.go +++ b/protocol/protocol.go @@ -71,7 +71,7 @@ type asyncResult struct { err error } -const pingTimeout = 30 * time.Second +const pingTimeout = 2 * time.Minute const pingIdleTime = 5 * time.Minute func NewConnection(nodeID string, reader io.Reader, writer io.Writer, receiver Model) *Connection {