mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 15:45:41 +00:00
rpc server: add rate limiting middleware (#3301)
Add RPC server rate limiting which can be utilized by the CLI `--rpc-rate-limit <calls/per minute>` Resolves first part of https://github.com/paritytech/polkadot-sdk/issues/3028 //cc @PierreBesson @kogeler you might be interested in this one --------- Co-authored-by: James Wilson <james@jsdw.me> Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
This commit is contained in:
@@ -27,3 +27,4 @@ http = "0.2.8"
|
||||
hyper = "0.14.27"
|
||||
futures = "0.3.29"
|
||||
pin-project = "1.1.3"
|
||||
governor = "0.6.0"
|
||||
|
||||
Reference in New Issue
Block a user