diff --git a/ansible/roles/config/templates/config.toml.j2 b/ansible/roles/config/templates/config.toml.j2 index 38b4df2a6..eb7f5d35e 100644 --- a/ansible/roles/config/templates/config.toml.j2 +++ b/ansible/roles/config/templates/config.toml.j2 @@ -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' %} diff --git a/ansible/roles/generic-service/templates/systemd.service.j2 b/ansible/roles/generic-service/templates/systemd.service.j2 index 5f46e0582..201b7942d 100644 --- a/ansible/roles/generic-service/templates/systemd.service.j2 +++ b/ansible/roles/generic-service/templates/systemd.service.j2 @@ -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