Option to disable keep alive for JSON-RPC http transport (#9848)
* Keep alive jsonrpc CLI option. * Update to latest json-rpc. * Keep alive flag.
This commit is contained in:
@@ -855,6 +855,7 @@ impl Configuration {
|
||||
Some(max) if max > 0 => max as usize,
|
||||
_ => 5usize,
|
||||
},
|
||||
keep_alive: !self.args.flag_jsonrpc_no_keep_alive,
|
||||
};
|
||||
|
||||
Ok(conf)
|
||||
|
||||
Reference in New Issue
Block a user