mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-26 15:22:15 +00:00
config: 10x default send/recv rate (#1978)
* config: 10x default send/recv rate This increases the default send/recv rate from 512 kB/s to 5.12 mB/s Closes #1752 * Fix typo
This commit is contained in:
parent
522a425708
commit
14cebd181d
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## PENDING
|
||||||
|
|
||||||
|
IMPROVEMENTS:
|
||||||
|
- [config] Increase default send/recv rates to 5 mB/s
|
||||||
|
|
||||||
## 0.22.4
|
## 0.22.4
|
||||||
|
|
||||||
*July 14th, 2018*
|
*July 14th, 2018*
|
||||||
|
@ -350,8 +350,8 @@ func DefaultP2PConfig() *P2PConfig {
|
|||||||
MaxNumPeers: 50,
|
MaxNumPeers: 50,
|
||||||
FlushThrottleTimeout: 100,
|
FlushThrottleTimeout: 100,
|
||||||
MaxPacketMsgPayloadSize: 1024, // 1 kB
|
MaxPacketMsgPayloadSize: 1024, // 1 kB
|
||||||
SendRate: 512000, // 500 kB/s
|
SendRate: 5120000, // 5 mB/s
|
||||||
RecvRate: 512000, // 500 kB/s
|
RecvRate: 5120000, // 5 mB/s
|
||||||
PexReactor: true,
|
PexReactor: true,
|
||||||
SeedMode: false,
|
SeedMode: false,
|
||||||
AllowDuplicateIP: true, // so non-breaking yet
|
AllowDuplicateIP: true, // so non-breaking yet
|
||||||
|
@ -121,10 +121,10 @@ max_num_peers = 50
|
|||||||
max_packet_msg_payload_size = 1024
|
max_packet_msg_payload_size = 1024
|
||||||
|
|
||||||
# Rate at which packets can be sent, in bytes/second
|
# Rate at which packets can be sent, in bytes/second
|
||||||
send_rate = 512000
|
send_rate = 5120000
|
||||||
|
|
||||||
# Rate at which packets can be received, in bytes/second
|
# Rate at which packets can be received, in bytes/second
|
||||||
recv_rate = 512000
|
recv_rate = 5120000
|
||||||
|
|
||||||
# Set true to enable the peer-exchange reactor
|
# Set true to enable the peer-exchange reactor
|
||||||
pex = true
|
pex = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user