mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-29 00:32:14 +00:00
comments from review
This commit is contained in:
parent
bcde80fc4f
commit
75df0d91ba
@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 0.10.2 (TBD)
|
## 0.10.2 (July 10, 2017)
|
||||||
|
|
||||||
FEATURES:
|
FEATURES:
|
||||||
- Enable lower latency block commits by adding consensus reactor sleep durations and p2p flush throttle timeout to the config
|
- Enable lower latency block commits by adding consensus reactor sleep durations and p2p flush throttle timeout to the config
|
||||||
|
@ -23,7 +23,8 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// isolate provides a clean setup and returns a copy of RootCmd you can
|
// 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 {
|
func isolate(cmds ...*cobra.Command) cli.Executable {
|
||||||
os.Unsetenv("TMHOME")
|
os.Unsetenv("TMHOME")
|
||||||
os.Unsetenv("TM_HOME")
|
os.Unsetenv("TM_HOME")
|
||||||
|
@ -21,7 +21,11 @@ const (
|
|||||||
minWriteBufferSize = 65536
|
minWriteBufferSize = 65536
|
||||||
updateState = 2 * time.Second
|
updateState = 2 * time.Second
|
||||||
pingTimeout = 40 * 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
|
defaultSendQueueCapacity = 1
|
||||||
defaultSendRate = int64(512000) // 500KB/s
|
defaultSendRate = int64(512000) // 500KB/s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user