1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-06-12 04:41:22 +00:00

16 Commits

Author SHA1 Message Date
cdf3a74f48 Unclean shutdown on SIGINT / SIGTERM ()
* libs/common: TrapSignal accepts logger as a first parameter

 and does not block anymore
* previously it was dumping "captured ..." msg to os.Stdout
* TrapSignal should not be responsible for blocking thread of execution

Refs 

* exit with zero (0) code upon receiving SIGTERM/SIGINT

Refs 

* fix formatting in docs/app-dev/abci-cli.md

Co-Authored-By: melekes <anton.kalyaev@gmail.com>

* fix formatting in docs/app-dev/abci-cli.md

Co-Authored-By: melekes <anton.kalyaev@gmail.com>
2019-02-23 10:48:28 -05:00
35b671214c tools: Refactor tm-bench ()
* specify time unit for FlushThrottleTimeout in TestP2PConfig
Refs 
* [tm-bench] refactor code
https://github.com/tendermint/tendermint/pull/2405#pullrequestreview-157166387
2018-10-08 15:03:38 +02:00
4c0c6e0116 [tm-bench] exit on CTRL-C () 2018-10-08 11:06:01 +04:00
c6c0b52d0c tools/tm-bench: bounds check for txSize and improving test cases ()
Fixes 
2018-09-17 13:08:47 +04:00
aff063b79b tools/tmbench: Move statistics to a seperate file
This PR moves statistics to its own file, seperates getBlockMetas
into its own function, and removes the timeEnd parameter from
calculate statistics. The ending time is now computed directly from
the start time and the duration, to enforce that we only collect
data for the provided duration.
2018-07-13 18:00:49 -07:00
93a3f701fe Merge branch 'dev/tm_bench_ignore_first_block_if_empty' into dev/tmbench_fix_end_time 2018-07-12 15:40:46 -07:00
e46ae15859 Use waitgroups for starting up 2018-07-12 15:37:46 -07:00
75c9303c68 tools/tmbench: Fix the end time being used for statistics calculation
Previously we were using the time at which all connections closed in statistics, not
the time after {duration} seconds.
2018-07-12 13:02:34 -07:00
bd050c1d03 Make code smell better 2018-07-12 12:42:26 -07:00
e785d6851c Fix getting the start time so the first block is no longer empty 2018-07-11 22:55:20 -07:00
f04a087546 Try melekes suggestion 2018-07-11 21:54:46 -07:00
94c8dd1c55 Merge remote-tracking branch 'origin/develop' into dev/tm_bench_ignore_first_block_if_empty 2018-07-11 21:39:06 -07:00
b980ef8bea tools/tm-bench: Remove testing flags from help () 2018-07-11 09:54:59 +04:00
50ea68a426 tools/tm-bench: Don't count the first block if its empty 2018-07-10 22:14:41 -07:00
8ce588d984 fixes for tools repo merge ()
fixes for tools repo merge ()
2018-07-10 16:42:27 -04:00
2f4ab0c068 mv tools files to tools repo 2018-07-10 11:15:39 -04:00