mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
fee810a5ea
The rationale behind this, is that it may be useful for some users actually disable RPC batch requests or limit them by length instead of the total size bytes of the batch. This PR adds two new CLI options: ``` --rpc-disable-batch-requests - disable batch requests on the server --rpc-max-batch-request-len <LEN> - limit batches to LEN on the server. ```
13 lines
491 B
Plaintext
13 lines
491 B
Plaintext
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
|
|
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
|
|
|
|
title: rpc server expose batch request configuration
|
|
|
|
doc:
|
|
- audience: Node Operator
|
|
description: |
|
|
Add functionality to limit RPC batch requests by two new CLI options:
|
|
--rpc-disable-batch-request - disable batch requests on the server
|
|
--rpc-max-batch-request-len - limit batches to LEN on the server
|
|
crates: [ ]
|