Browse Source

comments from review

pull/576/head
Ethan Buchman 7 years ago
parent
commit
75df0d91ba
3 changed files with 8 additions and 3 deletions
  1. +1
    -1
      CHANGELOG.md
  2. +2
    -1
      cmd/tendermint/commands/root_test.go
  3. +5
    -1
      p2p/connection.go

+ 1
- 1
CHANGELOG.md View File

@ -1,6 +1,6 @@
# Changelog
## 0.10.2 (TBD)
## 0.10.2 (July 10, 2017)
FEATURES:
- Enable lower latency block commits by adding consensus reactor sleep durations and p2p flush throttle timeout to the config


+ 2
- 1
cmd/tendermint/commands/root_test.go View File

@ -23,7 +23,8 @@ const (
)
// isolate provides a clean setup and returns a copy of RootCmd you can
// modify in the test cases
// modify in the test cases.
// NOTE: it unsets all TM* env variables.
func isolate(cmds ...*cobra.Command) cli.Executable {
os.Unsetenv("TMHOME")
os.Unsetenv("TM_HOME")


+ 5
- 1
p2p/connection.go View File

@ -21,7 +21,11 @@ const (
minWriteBufferSize = 65536
updateState = 2 * time.Second
pingTimeout = 40 * time.Second
flushThrottle = 100 * time.Millisecond
// flushThrottle used here as a default.
// overwritten by the user config.
// TODO: remove
flushThrottle = 100 * time.Millisecond
defaultSendQueueCapacity = 1
defaultSendRate = int64(512000) // 500KB/s


Loading…
Cancel
Save