diff --git a/CHANGELOG.md b/CHANGELOG.md index fc42e774..28de2333 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## PENDING + +IMPROVEMENTS: +- [config] Increase default send/recv rates to 5 mB/s + ## 0.22.4 *July 14th, 2018* diff --git a/config/config.go b/config/config.go index 2df8eb8e..eee9798d 100644 --- a/config/config.go +++ b/config/config.go @@ -349,9 +349,9 @@ func DefaultP2PConfig() *P2PConfig { AddrBookStrict: true, MaxNumPeers: 50, FlushThrottleTimeout: 100, - MaxPacketMsgPayloadSize: 1024, // 1 kB - SendRate: 512000, // 500 kB/s - RecvRate: 512000, // 500 kB/s + MaxPacketMsgPayloadSize: 1024, // 1 kB + SendRate: 5120000, // 5 mB/s + RecvRate: 5120000, // 5 mB/s PexReactor: true, SeedMode: false, AllowDuplicateIP: true, // so non-breaking yet diff --git a/docs/tendermint-core/configuration.md b/docs/tendermint-core/configuration.md index 0453bdad..6b85cd38 100644 --- a/docs/tendermint-core/configuration.md +++ b/docs/tendermint-core/configuration.md @@ -121,10 +121,10 @@ max_num_peers = 50 max_packet_msg_payload_size = 1024 # 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 -recv_rate = 512000 +recv_rate = 5120000 # Set true to enable the peer-exchange reactor pex = true