* add config option for limiting max number of active WS connections
* update test websocket method to not deprecated version
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
- Added option to set a limit for JSON-RPC HTTP connections `--rpc-http-max-active-connections` [\#1996](https://github.com/hyperledger/besu/pull/1996)
- Added option to set a limit for JSON-RPC connections
@ -516,7 +516,7 @@ public class BesuCommand implements DefaultCommandValues, Runnable {
@Option(
names={"--rpc-http-max-active-connections"},
description=
"Maximum number of connections allowed for JSON-RPC HTTP (default: ${DEFAULT-VALUE}). Once this limit is reached, incoming connections will be rejected.",
"Maximum number of HTTP connections allowed for JSON-RPC (default: ${DEFAULT-VALUE}). Once this limit is reached, incoming connections will be rejected.",
"Maximum number of WebSocket connections allowed for JSON-RPC (default: ${DEFAULT-VALUE}). Once this limit is reached, incoming connections will be rejected.",