From afc3e3b6c7b37090f29f153e46933cc006a42662 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Wed, 12 Aug 2015 22:36:06 -0700 Subject: [PATCH] mconnection constants adjustment --- p2p/connection.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p2p/connection.go b/p2p/connection.go index 83bafa978..d1782c1b5 100644 --- a/p2p/connection.go +++ b/p2p/connection.go @@ -19,12 +19,12 @@ const ( numBatchMsgPackets = 10 minReadBufferSize = 1024 minWriteBufferSize = 1024 - flushThrottleMS = 50 idleTimeoutMinutes = 5 updateStatsSeconds = 2 pingTimeoutSeconds = 40 - defaultSendRate = 51200 // 5Kb/s - defaultRecvRate = 51200 // 5Kb/s + defaultSendRate = 10240 // 10Kb/s + defaultRecvRate = 10240 // 10Kb/s + flushThrottleMS = 100 defaultSendQueueCapacity = 1 defaultRecvBufferCapacity = 4096 defaultSendTimeoutSeconds = 10