From 8c4b5ae0fc1206f72579c7017c0f692f44810cfc Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 22 Jan 2017 14:35:26 -0800 Subject: [PATCH] peer: increase ping interval to 1 minute --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 95e80a47..c36c91ac 100644 --- a/peer.go +++ b/peer.go @@ -33,7 +33,7 @@ var ( const ( // pingInterval is the interval at which ping messages are sent. - pingInterval = 30 * time.Second + pingInterval = 1 * time.Minute // outgoingQueueLen is the buffer size of the channel which houses // messages to be sent across the wire, requested by objects outside