Browse Source

mconnection constants adjustment

pull/130/head
Jae Kwon 9 years ago
parent
commit
afc3e3b6c7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      p2p/connection.go

+ 3
- 3
p2p/connection.go View File

@ -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


Loading…
Cancel
Save