From 2885bfc9a9ff841a333895b0f63731fef5aedb92 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Tue, 16 Mar 2021 19:28:29 -0700 Subject: [PATCH 1/4] doc --rpc-http-max-active-connections options Signed-off-by: Alexandra Tran --- docs/Reference/CLI/CLI-Syntax.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/Reference/CLI/CLI-Syntax.md b/docs/Reference/CLI/CLI-Syntax.md index df5fcb34ce8..febfb64986a 100644 --- a/docs/Reference/CLI/CLI-Syntax.md +++ b/docs/Reference/CLI/CLI-Syntax.md @@ -2617,6 +2617,34 @@ To allow remote connections, set to `0.0.0.0` In a production environment, ensure you are using a firewall to avoid exposing your node to the internet. +### `rpc-http-max-active-connections` + +=== "Syntax" + + ```bash + --rpc-http-max-active-connections= + ``` + +=== "Command Line" + + ```bash + --rpc-http-max-active-connections=100 + ``` + +=== "Environment Variable" + + ```bash + BESU_RPC_HTTP_MAX_ACTIVE_CONNECTIONS=100 + ``` + +=== "Configuration File" + + ```bash + rpc-http-max-active-connections=100 + ``` + +The maximum number of connections allowed for JSON-RPC HTTP. Once this limit is reached, incoming connections will be rejected. The default is 80. + ### `rpc-http-port` === "Syntax" From 59ad0e9103b8eca2bebc58850a003a3971a884e7 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Tue, 16 Mar 2021 19:39:26 -0700 Subject: [PATCH 2/4] update doc --rpc-http-max-active-connections Signed-off-by: Alexandra Tran --- docs/Reference/CLI/CLI-Syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Reference/CLI/CLI-Syntax.md b/docs/Reference/CLI/CLI-Syntax.md index febfb64986a..4852fa1e68e 100644 --- a/docs/Reference/CLI/CLI-Syntax.md +++ b/docs/Reference/CLI/CLI-Syntax.md @@ -2640,10 +2640,10 @@ To allow remote connections, set to `0.0.0.0` === "Configuration File" ```bash - rpc-http-max-active-connections=100 + rpc-http-max-active-connections="100" ``` -The maximum number of connections allowed for JSON-RPC HTTP. Once this limit is reached, incoming connections will be rejected. The default is 80. +The maximum number of HTTP connections allowed for JSON-RPC. Once this limit is reached, incoming connections will be rejected. The default is 80. ### `rpc-http-port` From ef06f98770d7e14d5adda89d5fd9075423ae6466 Mon Sep 17 00:00:00 2001 From: Nicolas MASSART Date: Wed, 17 Mar 2021 08:53:17 +0100 Subject: [PATCH 3/4] update code language Signed-off-by: Nicolas MASSART --- docs/Reference/CLI/CLI-Syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Reference/CLI/CLI-Syntax.md b/docs/Reference/CLI/CLI-Syntax.md index 4852fa1e68e..1d524c0bebb 100644 --- a/docs/Reference/CLI/CLI-Syntax.md +++ b/docs/Reference/CLI/CLI-Syntax.md @@ -2639,7 +2639,7 @@ To allow remote connections, set to `0.0.0.0` === "Configuration File" - ```bash + ```toml rpc-http-max-active-connections="100" ``` From 0fac4ef758f0fefae34d00dd1d9615b6bb81c7f5 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Wed, 17 Mar 2021 14:53:34 -0700 Subject: [PATCH 4/4] minor fix to doc --rpc-http-max-active-connections Signed-off-by: Alexandra Tran --- docs/Reference/CLI/CLI-Syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Reference/CLI/CLI-Syntax.md b/docs/Reference/CLI/CLI-Syntax.md index 4852fa1e68e..671440bf899 100644 --- a/docs/Reference/CLI/CLI-Syntax.md +++ b/docs/Reference/CLI/CLI-Syntax.md @@ -2640,10 +2640,10 @@ To allow remote connections, set to `0.0.0.0` === "Configuration File" ```bash - rpc-http-max-active-connections="100" + rpc-http-max-active-connections=100 ``` -The maximum number of HTTP connections allowed for JSON-RPC. Once this limit is reached, incoming connections will be rejected. The default is 80. +The maximum number of allowed HTTP JSON-RPC connections. Once this limit is reached, incoming connections are rejected. The default is 80. ### `rpc-http-port`