Set web3signer keep-alive to 20s by default (#5587)

* Set web3signer keep-alive to 20s by default

* add tests
This commit is contained in:
Michael Sproul
2024-04-18 01:09:09 +10:00
committed by GitHub
parent cda926ce1b
commit 49617f3e82
5 changed files with 30 additions and 5 deletions

View File

@@ -391,7 +391,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
Arg::with_name("web3-signer-keep-alive-timeout")
.long("web3-signer-keep-alive-timeout")
.value_name("MILLIS")
.default_value("90000")
.default_value("20000")
.help("Keep-alive timeout for each web3signer connection. Set to 'null' to never \
timeout")
.takes_value(true),