Browse Source

Changes to tendermint config for better performance

pull/1943/head
Greg Szabo 7 years ago
parent
commit
e6ed8e70ac
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      ansible/roles/config/templates/config.toml.j2
  2. +1
    -1
      ansible/roles/generic-service/templates/systemd.service.j2

+ 5
- 0
ansible/roles/config/templates/config.toml.j2 View File

@ -13,6 +13,11 @@ laddr = "tcp://0.0.0.0:46657"
[mempool]
recheck = false
[consensus]
max_block_size_txs = 1000
create_empty_blocks = false
#timeout_propose = 10000
[p2p]
laddr = "tcp://0.0.0.0:46656"
{% if validators == true or validators == 'true' %}


+ 1
- 1
ansible/roles/generic-service/templates/systemd.service.j2 View File

@ -9,7 +9,7 @@ Restart=on-failure
User={{service}}
Group={{service}}
PermissionsStartOnly=true
ExecStart=/usr/bin/tendermint node{{(service=='tendermint')|ternary(' --proxy_app=dummy','')}} --consensus.create_empty_blocks=false
ExecStart=/usr/bin/tendermint node{{(service=='tendermint')|ternary(' --proxy_app=dummy','')}}
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM


Loading…
Cancel
Save