Skip to content

Conversation

@alexandratran
Copy link
Contributor

@alexandratran alexandratran commented Mar 17, 2021

Pull request checklist

Use the following list to make sure your PR fits the Besu doc quality standard.

Before creating the pull request

Make sure that:

After creating your pull request and tests finished

Make sure that:

  • you fixed all the issues raised by the tests, if any.
  • you verified the rendering of your changes on ReadTheDocs.org PR preview
    and updated the testing link (see Testing).

Describe the change

Add documentation for the --rpc-http-max-active-connection option

Issue fixed

fixes #630

Impacted parts

For content changes

  • Doc content
  • Doc pages organisation

For tools changes

  • CircleCI workflow
  • Build and QA tools (lint, vale,…)
  • MkDocs templates
  • MkDocs configuration
  • Python dependencies
  • Node dependencies and JavaScript
  • ReadTheDocs configuration
  • GitHub integration

Testing

https://hyperledger-besu--638.org.readthedocs.build/en/638/

Screenshots / recording

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>
@alexandratran alexandratran requested a review from a team as a code owner March 17, 2021 02:29
Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>
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.
Copy link
Contributor

@bgravenorst bgravenorst Mar 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions:
"The maximum number of allowed HTTP JSON-RPC connections."
Try and rephrase without "will". It's one of the words on our do not use list :)

Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions. Also, similar to the other issue I'm not sure quotes ("") are required around integers in the config file. But we seem pretty inconsistent in the docs.

=== "Configuration File"

```bash
rpc-http-max-active-connections="100"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the TOML syntax for integers is indeed without quotes, see https://toml.io/en/

Signed-off-by: Nicolas MASSART <nicolas.massart@consensys.net>
@NicolasMassart NicolasMassart force-pushed the 630_doc_rpc_http_max_active_connections branch from d6fd8e3 to ef06f98 Compare March 17, 2021 07:57
Alexandra Tran and others added 3 commits March 17, 2021 14:53
Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>
…alexandratran/besu-docs into 630_doc_rpc_http_max_active_connections

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>

# Conflicts:
#	docs/Reference/CLI/CLI-Syntax.md
Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@NicolasMassart NicolasMassart merged commit bf11ec9 into hyperledger:master Mar 18, 2021
@alexandratran alexandratran deleted the 630_doc_rpc_http_max_active_connections branch March 18, 2021 17:31
@assetfinx
Copy link

Hi

How many max rpc connection able to set in the node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc --rpc-http-max-active-connections option

4 participants